EVP_SHA1(3ossl)
π EVP_SHA1 β it's giving SHA-1 for EVP π
okay bestie, welcome to the EVP_SHA1(3ossl) page, aka the little corner of OpenSSL where the legendary (and, ngl, a lil problematic in 2024) SHA-1 lives π
β¨ NAME β¨
EVP_sha1 β SHA-1 For EVP π
πΈ SYNOPSIS πΈ
#include <openssl/evp.h>
const EVP_MD *EVP_sha1(void);
π¦ DESCRIPTION π¦
SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function standardized in NIST FIPS 180-4. The algorithm was designed by the United States National Security Agency and initially published in 1995. so it's literally older than most of us and yet here we are π«Ά
EVP_sha1()β the SHA-1 algorithm which produces a 160-bit output from a given input. cute, compact, iconic β¨
π NOTES π
bestie, listen up, this is the part where I hold your hand π
Developers should be aware of the negative performance implications of calling this function multiple times and should consider using EVP_MD_fetch(3) with EVP_MD-SHA1(7) instead. See "Performance" in crypto(7) for further information.
not me begging you to use EVP_MD_fetch(3) instead of calling this over and over π the performance implications are real, fr fr
π RETURN VALUES π
These functions return a EVP_MD structure that contains the implementation of the message digest. See EVP_MD_meth_new(3) for details of the EVP_MD structure.
so likeβ¦ you get an EVP_MD back. that's the whole vibe check π
β CONFORMING TO β
NIST FIPS 180-4. periodt π
π SEE ALSO π
go read those next, iykyk π
π COPYRIGHT π
Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the Apache License 2.0 (the "License"). You may not use this file except in compliance with the License. You can obtain a copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
okay that's the whole page, you ate that π this was OpenSSL 3.5.9, dated 2026-09-29, and the manual name is EVP_SHA1(3ossl) β mwah, love u, go hash responsibly π§π
π¦ where this page comes from
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 43: openssl-devel 1:3.5.9-1.fc43 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- fedora 44: openssl-devel 1:3.5.9-1.fc44 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms