EVP_md5.pod 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. =pod
  2. =head1 NAME
  3. EVP_md5,
  4. EVP_md5_sha1
  5. - MD5 For EVP
  6. =head1 SYNOPSIS
  7. #include <openssl/evp.h>
  8. const EVP_MD *EVP_md5(void);
  9. const EVP_MD *EVP_md5_sha1(void);
  10. =head1 DESCRIPTION
  11. MD5 is a cryptographic hash function standardized in RFC 1321 and designed by
  12. Ronald Rivest.
  13. The CMU Software Engineering Institute considers MD5 unsuitable for further
  14. use since its security has been severely compromised.
  15. =over 4
  16. =item EVP_md5()
  17. The MD5 algorithm which produces a 128-bit output from a given input.
  18. =item EVP_md5_sha1()
  19. A hash algorithm of SSL v3 that combines MD5 with SHA-1 as described in RFC
  20. 6101.
  21. WARNING: this algorithm is not intended for non-SSL usage.
  22. =back
  23. =head1 NOTES
  24. Developers should be aware of the negative performance implications of
  25. calling these functions multiple times and should consider using
  26. L<EVP_MD_fetch(3)> with L<EVP_MD-MD5(7)> or L<EVP_MD-MD5-SHA1(7)> instead.
  27. See L<crypto(7)/Performance> for further information.
  28. =head1 RETURN VALUES
  29. These functions return a B<EVP_MD> structure that contains the
  30. implementation of the message digest. See L<EVP_MD_meth_new(3)> for
  31. details of the B<EVP_MD> structure.
  32. =head1 CONFORMING TO
  33. IETF RFC 1321.
  34. =head1 SEE ALSO
  35. L<evp(7)>,
  36. L<EVP_DigestInit(3)>
  37. =head1 COPYRIGHT
  38. Copyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved.
  39. Licensed under the Apache License 2.0 (the "License"). You may not use
  40. this file except in compliance with the License. You can obtain a copy
  41. in the file LICENSE in the source distribution or at
  42. L<https://www.openssl.org/source/license.html>.
  43. =cut