Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
MD5(9)		       FreeBSD Kernel Developer's Manual		MD5(9)

NAME
     MD5, MD5Init, MD5Transform	-- message digest routines

SYNOPSIS
     #include <sys/types.h>
     #include <sys/md5.h>

     void
     MD5Init(MD5_CTX *buf);

     void
     MD5Transform(uint32_t buf[4], const unsigned char block[64]);

DESCRIPTION
     The MD5 module implements the RSA Data Security, Inc. MD5 Message-Digest
     Algorithm (MD5).  It produces 128-bit MD5 Digest of data.

     MD5Init	      must be called just before MD5Transform()	will be	used
		      to produce a digest.  The	buf argument is	the storage
		      for the digest being produced on subsequent calls	to the
		      MD5Transform() routine.

     MD5Transform     is the core of the MD5 algorithm,	this alters an exist-
		      ing MD5 hash kept	in buf to reflect the addition of 64
		      characters of new	data passed in block argument.

COPYRIGHTS
     The code for MD5 transform	was taken from Colin Plumb's implementation,
     which has been placed in the public domain.  The MD5 cryptographic	check-
     sum was devised by	Ronald Rivest, and is documented in RFC	1321, "The MD5
     Message Digest Algorithm".

FreeBSD	13.0			April 17, 1996			  FreeBSD 13.0

NAME | SYNOPSIS | DESCRIPTION | COPYRIGHTS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=MD5&sektion=9&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help