EVP_sha1.pod 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 RETURN VALUES
  17. These functions return a B<EVP_MD> structure that contains the
  18. implementation of the message digest. See L<EVP_MD_meth_new(3)> for
  19. details of the B<EVP_MD> structure.
  20. =head1 CONFORMING TO
  21. NIST FIPS 180-4.
  22. =head1 SEE ALSO
  23. L<evp(7)>,
  24. L<EVP_DigestInit(3)>
  25. =head1 COPYRIGHT
  26. Copyright 2017-2022 The OpenSSL Project Authors. All Rights Reserved.
  27. Licensed under the Apache License 2.0 (the "License"). You may not use
  28. this file except in compliance with the License. You can obtain a copy
  29. in the file LICENSE in the source distribution or at
  30. L<https://www.openssl.org/source/license.html>.
  31. =cut