EVP_md5.pod 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 RETURN VALUES
  24. These functions return a B<EVP_MD> structure that contains the
  25. implementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
  26. details of the B<EVP_MD> structure.
  27. =head1 CONFORMING TO
  28. IETF RFC 1321.
  29. =head1 SEE ALSO
  30. L<evp(7)>,
  31. L<EVP_DigestInit(3)>
  32. =head1 COPYRIGHT
  33. Copyright 2017-2018 The OpenSSL Project Authors. All Rights Reserved.
  34. Licensed under the Apache License 2.0 (the "License"). You may not use
  35. this file except in compliance with the License. You can obtain a copy
  36. in the file LICENSE in the source distribution or at
  37. L<https://www.openssl.org/source/license.html>.
  38. =cut