EVP_SHA1(3ossl)
πΈ NAME πΈ
okay so bestie, this is the OpenSSL manual page for EVP_SHA1(3ossl) β aka the page for EVP_sha1, aka SHA-1 For EVP. That's the name section, short and iconic. π
β¨ SYNOPSIS β¨
#include <openssl/evp.h>
const EVP_MD *EVP_sha1(void);
That's the exact summoning spell, no cap. Include openssl/evp.h, call EVP_sha1(void), get a const EVP_MD *. Slay. π«Ά
π DESCRIPTION π
So SHA-1 β full name Secure Hash Algorithm 1 β is a cryptographic hash function standardized in NIST FIPS 180-4. It was designed by the United States National Security Agency and initially published in 1995. It's giving legacy icon behavior, fr fr. π°οΈ
EVP_sha1()β the SHA-1 algorithm which produces a160-bitoutput from a given input. Yes, exactly that. β¨
π«Ά NOTES π«Ά
bestie, listen: developers should be aware of the negative performance implications of calling this function multiple times. If you're doing that, consider usingEVP_MD_fetch(3)withEVP_MD-SHA1(7)instead. See "Performance" incrypto(7)for further information. π«‘
π 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. That's the whole tea. π«
π CONFORMING TO π
NIST FIPS 180-4. That's the standard, periodt. β
π SEE ALSO π
Go peek at evp(7) and EVP_DigestInit(3) for more of the lore. π
Β©οΈ 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>.
mwah π β this page is from OpenSSL 3.5.0, dated 2026-09-25, and yep itβs EVP_SHA1(3ossl) signing off. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: openssl-3-doc 3.5.0-160000.11.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms