*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> MD5 (9)              
Title
Content
Arch
Section
 

MD5(9)

Contents


NAME    [Toc]    [Back]

     MD5, MD5Init, MD5Transform -- message digest routines

SYNOPSIS    [Toc]    [Back]

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

     void
     MD5Init(MD5_CTX *buf);

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

DESCRIPTION    [Toc]    [Back]

     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 existing
 MD5 hash kept in buf to reflect the addition of 64
		      characters of new data passed in block argument.

COPYRIGHTS    [Toc]    [Back]

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


FreeBSD 5.2.1			April 17, 1996			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
BIO_set_md Tru64 Message digest BIO filter
BIO_f_md NetBSD message digest BIO filter
BIO_get_md Tru64 Message digest BIO filter
BIO_get_md_ctx Tru64 Message digest BIO filter
BIO_f_md Tru64 Message digest BIO filter
rmd160 OpenBSD ``RIPEMD-160'' message digest
CSSM_DigestData Tru64 Compute message digest (CDSA)
RIPEMD160_File FreeBSD calculate the RIPEMD160 message digest
RIPEMD160_FileChunk FreeBSD calculate the RIPEMD160 message digest
CSP_DigestData Tru64 Compute message digest (CDSA)
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service