|
NAMEMD4Init , MD4Update ,
MD4Pad , MD4Final ,
MD4End , MD4File ,
MD4FileChunk , MD4Data —
calculate the RSA Data Security, Inc., ``MD4'' message
digest
LIBRARYMessage Digest (MD4, MD5, etc.) Support Library (libmd, -lmd)SYNOPSIS#include <sys/types.h>
#include <md4.h>
void
void
void
void
char *
char *
char *
char *
DESCRIPTIONThe MD4 functions calculate a 128-bit cryptographic checksum (digest) for any number of input bytes. A cryptographic checksum is a one-way hash-function, that is, you cannot find (except by exhaustive search) the input corresponding to a particular output. This net result is a “fingerprint” of the input-data, which does not disclose the actual input.MD4 is the fastest and MD5 is somewhat slower. MD4 has now been broken; it should only be used where necessary for backward compatibility. MD5 has not yet (1999-02-11) been broken, but sufficient attacks have been made that its security is in some doubt. The attacks on both MD4 and MD5 are both in the nature of finding “collisions” – that is, multiple inputs which hash to the same value; it is still unlikely for an attacker to be able to determine the exact original input given a hash value. The The The The When using ERRORSTheMD4End () function called with a null buf argument
may fail and return NULL if:
The SEE ALSOmd4(3), md5(3), ripemd(3), sha(3), sha256(3), sha512(3), skein(3)R. Rivest, The MD4 Message-Digest Algorithm, RFC 1186. R. Rivest, The MD5 Message-Digest Algorithm, RFC 1321. H. Dobbertin, Alf Swindles Ann, CryptoBytes, 1(3):5, 1995. MJ. B. Robshaw, On Recent Results for MD2, MD4 and MD5, RSA Laboratories Bulletin, 4, November 12, 1996. HISTORYThese functions appeared in FreeBSD 2.0.AUTHORSThe original MD4 routines were developed by RSA Data Security, Inc., and published in the above references. This code is derived directly from these implementations by Poul-Henning Kamp <phk@FreeBSD.org>.Phk ristede runen. BUGSThe MD5 algorithm has been proven to be vulnerable to practical collision attacks and should not be relied upon to produce unique outputs, nor should they be used as part of a cryptographic signature scheme. Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved.License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD4 Message-Digest Algorithm" in all material mentioning or referencing this software or this function. License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD4 Message-Digest Algorithm" in all material mentioning or referencing the derived work. RSA Data Security, Inc. makes no representations concerning either the merchantability of this software or the suitability of this software for any particular purpose. It is provided "as is" without express or implied warranty of any kind. These notices must be retained in any copies of any part of this documentation and/or software.
Visit the GSP FreeBSD Man Page Interface. |