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