1e71b7053SJung-uk Kim=pod 2e71b7053SJung-uk Kim 3e71b7053SJung-uk Kim=head1 NAME 4e71b7053SJung-uk Kim 5c9cf7b5cSJung-uk KimEVP_md5, 6c9cf7b5cSJung-uk KimEVP_md5_sha1 7e71b7053SJung-uk Kim- MD5 For EVP 8e71b7053SJung-uk Kim 9e71b7053SJung-uk Kim=head1 SYNOPSIS 10e71b7053SJung-uk Kim 11e71b7053SJung-uk Kim #include <openssl/evp.h> 12e71b7053SJung-uk Kim 13e71b7053SJung-uk Kim const EVP_MD *EVP_md5(void); 14c9cf7b5cSJung-uk Kim const EVP_MD *EVP_md5_sha1(void); 15e71b7053SJung-uk Kim 16e71b7053SJung-uk Kim=head1 DESCRIPTION 17e71b7053SJung-uk Kim 18e71b7053SJung-uk KimMD5 is a cryptographic hash function standardized in RFC 1321 and designed by 19e71b7053SJung-uk KimRonald Rivest. 20e71b7053SJung-uk Kim 21e71b7053SJung-uk KimThe CMU Software Engineering Institute considers MD5 unsuitable for further 22e71b7053SJung-uk Kimuse since its security has been severely compromised. 23e71b7053SJung-uk Kim 24e71b7053SJung-uk Kim=over 4 25e71b7053SJung-uk Kim 26e71b7053SJung-uk Kim=item EVP_md5() 27e71b7053SJung-uk Kim 28e71b7053SJung-uk KimThe MD5 algorithm which produces a 128-bit output from a given input. 29e71b7053SJung-uk Kim 30e71b7053SJung-uk Kim=item EVP_md5_sha1() 31e71b7053SJung-uk Kim 32da327cd2SJung-uk KimA hash algorithm of SSL v3 that combines MD5 with SHA-1 as described in RFC 33e71b7053SJung-uk Kim6101. 34e71b7053SJung-uk Kim 35e71b7053SJung-uk KimWARNING: this algorithm is not intended for non-SSL usage. 36e71b7053SJung-uk Kim 37e71b7053SJung-uk Kim=back 38e71b7053SJung-uk Kim 39b077aed3SPierre Pronchery=head1 NOTES 40b077aed3SPierre Pronchery 41b077aed3SPierre ProncheryDevelopers should be aware of the negative performance implications of 42b077aed3SPierre Proncherycalling these functions multiple times and should consider using 43*ad991e4cSEd MasteL<EVP_MD_fetch(3)> with L<EVP_MD-MD5(7)> or L<EVP_MD-MD5-SHA1(7)> instead. 44b077aed3SPierre ProncherySee L<crypto(7)/Performance> for further information. 45e71b7053SJung-uk Kim 46e71b7053SJung-uk Kim=head1 RETURN VALUES 47e71b7053SJung-uk Kim 48e71b7053SJung-uk KimThese functions return a B<EVP_MD> structure that contains the 49b077aed3SPierre Proncheryimplementation of the message digest. See L<EVP_MD_meth_new(3)> for 50e71b7053SJung-uk Kimdetails of the B<EVP_MD> structure. 51e71b7053SJung-uk Kim 52e71b7053SJung-uk Kim=head1 CONFORMING TO 53e71b7053SJung-uk Kim 54e71b7053SJung-uk KimIETF RFC 1321. 55e71b7053SJung-uk Kim 56e71b7053SJung-uk Kim=head1 SEE ALSO 57e71b7053SJung-uk Kim 58e71b7053SJung-uk KimL<evp(7)>, 59e71b7053SJung-uk KimL<EVP_DigestInit(3)> 60e71b7053SJung-uk Kim 61e71b7053SJung-uk Kim=head1 COPYRIGHT 62e71b7053SJung-uk Kim 63b077aed3SPierre ProncheryCopyright 2017-2023 The OpenSSL Project Authors. All Rights Reserved. 64e71b7053SJung-uk Kim 65b077aed3SPierre ProncheryLicensed under the Apache License 2.0 (the "License"). You may not use 66e71b7053SJung-uk Kimthis file except in compliance with the License. You can obtain a copy 67e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at 68e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>. 69e71b7053SJung-uk Kim 70e71b7053SJung-uk Kim=cut 71e71b7053SJung-uk Kim 72