New function ERR_error_string_n.
[openssl.git] / doc / crypto / md5.pod
index 8993004a306b2abe5586dda490f6501aac1baa8d..d7c120023dafca763e2a1a40408558e6598eb518 100644 (file)
@@ -24,13 +24,13 @@ MD5_Final - MD2 and MD5 hash functions
                   unsigned char *md);
 
  void MD5_Init(MD5_CTX *c);
- void MD5_Update(MD5_CTX *c, const unsigned char *data,
+ void MD5_Update(MD5_CTX *c, const void *data,
                   unsigned long len);
  void MD5_Final(unsigned char *md, MD5_CTX *c);
 
 =head1 DESCRIPTION
 
-MD2 and MD5 are cryptographic hashs function with a 128 bit output.
+MD2 and MD5 are cryptographic hash functions with a 128 bit output.
 
 MD2() and MD5() compute the MD2 and MD5 message digest of the B<n>
 bytes at B<d> and place it in B<md> (which must have space for
@@ -51,6 +51,10 @@ for MD2_DIGEST_LENGTH == 16 bytes of output, and erases the B<MD2_CTX>.
 MD5_Init(), MD5_Update() and MD5_Final() are analogous using an
 B<MD5_CTX> structure.
 
+Applications should use the higher level functions
+L<EVP_DigestInit(3)|EVP_DigestInit(3)>
+etc. instead of calling the hash functions directly.
+
 =head1 NOTE
 
 MD2 and MD5 are recommended only for compatibility with existing
@@ -70,7 +74,7 @@ RFC 1319, RFC 1321
 
 =head1 SEE ALSO
 
-L<sha(3)|sha(3)>, L<ripemd(3)|ripemd(3)>
+L<sha(3)|sha(3)>, L<ripemd(3)|ripemd(3)>, L<EVP_DigestInit(3)|EVP_DigestInit(3)>
 
 =head1 HISTORY