1EVP_SHA1(3ossl) OpenSSL EVP_SHA1(3ossl)
2
3
4
6 EVP_sha1 - SHA-1 For EVP
7
9 #include <openssl/evp.h>
10
11 const EVP_MD *EVP_sha1(void);
12
14 SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function
15 standardized in NIST FIPS 180-4. The algorithm was designed by the
16 United States National Security Agency and initially published in 1995.
17
18 EVP_sha1()
19 The SHA-1 algorithm which produces a 160-bit output from a given
20 input.
21
23 Developers should be aware of the negative performance implications of
24 calling this function multiple times and should consider using
25 EVP_MD_fetch(3) instead. See "Performance" in crypto(7) for further
26 information.
27
29 These functions return a EVP_MD structure that contains the
30 implementation of the message digest. See EVP_MD_meth_new(3) for
31 details of the EVP_MD structure.
32
34 NIST FIPS 180-4.
35
37 evp(7), EVP_DigestInit(3)
38
40 Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
41
42 Licensed under the Apache License 2.0 (the "License"). You may not use
43 this file except in compliance with the License. You can obtain a copy
44 in the file LICENSE in the source distribution or at
45 <https://www.openssl.org/source/license.html>.
46
47
48
493.0.9 2023-07-27 EVP_SHA1(3ossl)