10 #include <openssl/evp.h>
12 const EVP_MD *EVP_sha1(void);
16 SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function standardized
17 in NIST FIPS 180-4. The algorithm was designed by the United States National
18 Security Agency and initially published in 1995.
24 The SHA-1 algorithm which produces a 160-bit output from a given input.
30 Developers should be aware of the negative performance implications of
31 calling this function multiple times and should consider using
32 L<EVP_MD_fetch(3)> with L<EVP_MD-SHA1(7)> instead.
33 See L<crypto(7)/Performance> for further information.
37 These functions return a B<EVP_MD> structure that contains the
38 implementation of the message digest. See L<EVP_MD_meth_new(3)> for
39 details of the B<EVP_MD> structure.
52 Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
54 Licensed under the Apache License 2.0 (the "License"). You may not use
55 this file except in compliance with the License. You can obtain a copy
56 in the file LICENSE in the source distribution or at
57 L<https://www.openssl.org/source/license.html>.