Everything2
Near Matches
Ignore Exact
Full Text
Everything2

MD4

created by randombit

(thing) by randombit (3.9 hr) (print)   ?   (I like it!) Wed Jan 22 2003 at 0:46:04

MD4 is a hash function which was designed to be cryptographically secure. Designed by Ron Rivest, MD4 was published in RFC 1186 in October 1990, and later republished in RFC 1320 in 1992 (to coincide with the release of the MD5 specification). MD4 produces a 128 bit hash and is quite similar in structure to MD5. MD4 is very fast, probably one of the fastest cryptographic hash functions in existence. Unfortunately, it is not very secure; several people have demonstrated attacks sufficiently damaging that nobody uses MD4 in security conscious applications. In fact, MD5 is simply a "beefed up" version of MD4, produced because there were worries as early as 1991 that MD4 wouldn't be secure enough.

MD4 is heavily biased towards x86 processors: little-endian byte orderings are used throughout, everything is done in terms of 32 bit words, and the algorithm is set up to allow good scheduling on x86 machines.

Some places where MD4 is or has been used:

  • rsync uses MD4 to find if two files are the same
  • Windows NT hashes user passwords with MD4
  • PKCS #1 supported using MD4 with RSA for a brief time, so theoretically you could create an X.509 certificate that used MD4. That would be a very bad idea security-wise, and most implementations would reject it anyway (though it looks like OpenSSL does know about using MD4 and RSA together).

To some extent, MD4 is still usable if all you need is a one way function, because while it is definitely possible to generate collisions in MD4, nobody (so far) knows how to invert it in any meaningful way. However, the speed gains from using MD4 probably do not make up for the high risk in using the algorithm for anything, so if you're thinking about using MD4, think again.

For all of the wonderful and amazing details of this algorithm, read RFC 1320, which is the definitive source.


printable version
chaos

MD5 hash function Ron Rivest RIPEMD-160 SHA-1
RC6 Digital Signature Algorithm ripe MD2
X.509 Windows NT crypto Checksum
rsync RSA Cryptology md5sum
x86 hash function RFC 1321 secure hash
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
The best nodes of all time:
Satan
Zazen
Iceland
Dr. Strangelove, or How I Learned to Stop Worrying and Love the Bomb
Dead people are not sleeping. They are dead.
Hydrogen peroxide
Wildcat
Conservation of organic resources
Darryl Strawberry
Friedrich Nietzsche
The bride of Vankenstrein - conception
Opera
Useful Latin phrases
New Writeups
santo
The Host(review)
LostPsion
"Shut the Fuck Up" Theaters(idea)
Vanish
The line between normal and not(place)
beatrice
You've been slowly taking me over for nearly a year, do you know that?(idea)
Berek
YouTube(thing)
shaogo
How to Pretend to Have a Job(idea)
hapax
Les Provinciales(review)
zoeb
The Scene(review)
aneurin
Telephone Numbers for drama purposes(idea)
Alnilamski
Cosmicopolis(fiction)
eien_meru
measure(idea)
Dreamvirus
pussy willow(thing)
czeano
Three "T"s(idea)
UncleM
Vantage Point 2: Fractal Thread Count(idea)
LostPsion
First Fiction: Night(fiction)
This affordable entertainment brought to you by The Everything Development Company