xref: /freebsd/crypto/openssl/doc/man3/EVP_md5.pod (revision da327cd22e88f26f6cab9d4c45805b512139aa11)
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
32*da327cd2SJung-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
39e71b7053SJung-uk Kim
40e71b7053SJung-uk Kim=head1 RETURN VALUES
41e71b7053SJung-uk Kim
42e71b7053SJung-uk KimThese functions return a B<EVP_MD> structure that contains the
43e71b7053SJung-uk Kimimplementation of the symmetric cipher. See L<EVP_MD_meth_new(3)> for
44e71b7053SJung-uk Kimdetails of the B<EVP_MD> structure.
45e71b7053SJung-uk Kim
46e71b7053SJung-uk Kim=head1 CONFORMING TO
47e71b7053SJung-uk Kim
48e71b7053SJung-uk KimIETF RFC 1321.
49e71b7053SJung-uk Kim
50e71b7053SJung-uk Kim=head1 SEE ALSO
51e71b7053SJung-uk Kim
52e71b7053SJung-uk KimL<evp(7)>,
53e71b7053SJung-uk KimL<EVP_DigestInit(3)>
54e71b7053SJung-uk Kim
55e71b7053SJung-uk Kim=head1 COPYRIGHT
56e71b7053SJung-uk Kim
57*da327cd2SJung-uk KimCopyright 2017-2019 The OpenSSL Project Authors. All Rights Reserved.
58e71b7053SJung-uk Kim
59e71b7053SJung-uk KimLicensed under the OpenSSL license (the "License").  You may not use
60e71b7053SJung-uk Kimthis file except in compliance with the License.  You can obtain a copy
61e71b7053SJung-uk Kimin the file LICENSE in the source distribution or at
62e71b7053SJung-uk KimL<https://www.openssl.org/source/license.html>.
63e71b7053SJung-uk Kim
64e71b7053SJung-uk Kim=cut
65e71b7053SJung-uk Kim
66