2
0

EVP_sha1.pod 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. =pod
  2. =head1 NAME
  3. EVP_sha1
  4. - SHA-1 For EVP
  5. =head1 SYNOPSIS
  6. #include <openssl/evp.h>
  7. const EVP_MD *EVP_sha1(void);
  8. =head1 DESCRIPTION
  9. SHA-1 (Secure Hash Algorithm 1) is a cryptographic hash function standardized
  10. in NIST FIPS 180-4. The algorithm was designed by the United States National
  11. Security Agency and initially published in 1995.
  12. =over 4
  13. =item EVP_sha1()
  14. The SHA-1 algorithm which produces a 160-bit output from a given input.
  15. =back
  16. =head1 NOTES
  17. Developers should be aware of the negative performance implications of
  18. calling this function multiple times and should consider using
  19. L<EVP_MD_fetch(3)> with L<EVP_MD-SHA1(7)> instead.
  20. See L<crypto(7)/Performance> for further information.
  21. =head1 RETURN VALUES
  22. These functions return a B<EVP_MD> structure that contains the
  23. implementation of the message digest. See L<EVP_MD_meth_new(3)> for
  24. details of the B<EVP_MD> structure.
  25. =head1 CONFORMING TO
  26. NIST FIPS 180-4.
  27. =head1 SEE ALSO
  28. L<evp(7)>,
  29. L<EVP_DigestInit(3)>
  30. =head1 COPYRIGHT
  31. Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
  32. Licensed under the Apache License 2.0 (the "License"). You may not use
  33. this file except in compliance with the License. You can obtain a copy
  34. in the file LICENSE in the source distribution or at
  35. L<https://www.openssl.org/source/license.html>.
  36. =cut