yuezonghe | 824eb0c | 2024-06-27 02:32:26 -0700 | [diff] [blame] | 1 | =pod |
| 2 | |
| 3 | =head1 NAME |
| 4 | |
| 5 | EVP_md5, |
| 6 | EVP_md5_sha1 |
| 7 | - MD5 For EVP |
| 8 | |
| 9 | =head1 SYNOPSIS |
| 10 | |
| 11 | #include <openssl/evp.h> |
| 12 | |
| 13 | const EVP_MD *EVP_md5(void); |
| 14 | const EVP_MD *EVP_md5_sha1(void); |
| 15 | |
| 16 | =head1 DESCRIPTION |
| 17 | |
| 18 | MD5 is a cryptographic hash function standardized in RFC 1321 and designed by |
| 19 | Ronald Rivest. |
| 20 | |
| 21 | The CMU Software Engineering Institute considers MD5 unsuitable for further |
| 22 | use since its security has been severely compromised. |
| 23 | |
| 24 | =over 4 |
| 25 | |
| 26 | =item EVP_md5() |
| 27 | |
| 28 | The MD5 algorithm which produces a 128-bit output from a given input. |
| 29 | |
| 30 | =item EVP_md5_sha1() |
| 31 | |
| 32 | A hash algorithm of SSL v3 that combines MD5 with SHA-1 as described in RFC |
| 33 | 6101. |
| 34 | |
| 35 | WARNING: this algorithm is not intended for non-SSL usage. |
| 36 | |
| 37 | =back |
| 38 | |
| 39 | |
| 40 | =head1 RETURN VALUES |
| 41 | |
| 42 | These functions return a B<EVP_MD> structure that contains the |
| 43 | implementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for |
| 44 | details of the B<EVP_MD> structure. |
| 45 | |
| 46 | =head1 CONFORMING TO |
| 47 | |
| 48 | IETF RFC 1321. |
| 49 | |
| 50 | =head1 SEE ALSO |
| 51 | |
| 52 | L<evp(7)>, |
| 53 | L<EVP_DigestInit(3)> |
| 54 | |
| 55 | =head1 COPYRIGHT |
| 56 | |
| 57 | Copyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved. |
| 58 | |
| 59 | Licensed under the OpenSSL license (the "License"). You may not use |
| 60 | this file except in compliance with the License. You can obtain a copy |
| 61 | in the file LICENSE in the source distribution or at |
| 62 | L<https://www.openssl.org/source/license.html>. |
| 63 | |
| 64 | =cut |
| 65 | |