Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

MD4

From Wikipedia, the free encyclopedia
Cryptographic hash function
MD4
General
DesignersRonald Rivest
First publishedOctober 1990[1]
SeriesMD2, MD4,MD5,MD6
Cipher detail
Digest sizes128 bits
Block sizes512 bits
Rounds3
Best publiccryptanalysis
A collision attack published in 2007 can find collisions for full MD4 in less than two hash operations.[2]

TheMD4 Message-Digest Algorithm is acryptographic hash function developed byRonald Rivest in 1990.[3] The digest length is 128 bits. The algorithm has influenced later designs, such as theMD5,SHA-1 andRIPEMD algorithms. The initialism "MD" stands for "Message Digest".

One MD4 operation. MD4 consists of 48 of these operations, grouped in three rounds of 16 operations.F is a nonlinear function; one function is used in each round.Mi denotes a 32-bit block of the message input, andKi denotes a 32-bit constant, different for each round.

The security of MD4 has been severely compromised. The first fullcollision attack against MD4 was published in 1995, and several newer attacks have been published since then. As of 2007, an attack can generate collisions in less than two MD4 hash operations.[2] A theoreticalpreimage attack also exists.

A variant of MD4 is used in theed2k URI scheme to provide a unique identifier for a file in the popular eDonkey2000 / eMule P2P networks. MD4 was also used by thersync protocol (prior to version 3.0.0).

MD4 is used to computeNTLM password-derived key digests on Microsoft Windows NT, XP, Vista, 7, 8, 10 and 11.[4]

Security

[edit]

Weaknesses in MD4 were demonstrated by Den Boer and Bosselaers in a paper published in 1991.[5] The first full-round MD4collision attack was found byHans Dobbertin in 1995, which took only seconds to carry out at that time.[6] In August 2004,Wang et al. found a very efficient collision attack, alongside attacks on later hash function designs in the MD4/MD5/SHA-1/RIPEMD family. This result was improved later by Sasaki et al., and generating a collision is now as cheap as verifying it (a few microseconds).[2]

In 2008, thepreimage resistance of MD4 was also broken by Gaëtan Leurent, with a 2102 attack.[7] In 2010 Guo et al published a 299.7 attack.[8]

In 2011, RFC 6150 stated that RFC 1320 (MD4) ishistoric (obsolete).

MD4 hashes

[edit]

The 128-bit (16-byte) MD4 hashes (also termedmessage digests) are typically represented as 32-digithexadecimal numbers. The following demonstrates a 43-byteASCII input and the corresponding MD4 hash:

MD4("The quick brown fox jumps over the lazydog")= 1bee69a46ba811185c194762abaeae90

Even a small change in the message will (with overwhelming probability) result in a completely different hash, e.g. changingd toc:

MD4("The quick brown fox jumps over the lazycog")= b86e130ce7028da59e672d56ad0113df

The hash of the zero-length string is:

MD4("") = 31d6cfe0d16ae931b73c59d7e0c089c0

MD4 test vectors

[edit]

The following test vectors are defined in RFC 1320 (The MD4 Message-Digest Algorithm)

MD4 ("") = 31d6cfe0d16ae931b73c59d7e0c089c0MD4 ("a") = bde52cb31de33e46245e05fbdbd6fb24MD4 ("abc") = a448017aaf21d8525fc10ae87aa6729dMD4 ("message digest") = d9130a8164549fe818874806e1c7014bMD4 ("abcdefghijklmnopqrstuvwxyz") = d79e1c308aa5bbcdeea8ed63df412da9MD4 ("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789") = 043f8582f241db351ce627e153e7f0e4MD4 ("12345678901234567890123456789012345678901234567890123456789012345678901234567890") = e33b4ddc9c38f2199c3e7b164fcc0536

MD4 collision example

[edit]

Let:

 k1 = 839c7a4d7a92cb5678a5d5b9eea5a7573c8a74deb366c3dc20a083b69f5d2a3bb3719dc69891e9f95e809fd7e8b23ba6318edd45e51fe39708bf9427e9c3e8b9 k2 = 839c7a4d7a92cbd678a5d529eea5a7573c8a74deb366c3dc20a083b69f5d2a3bb3719dc69891e9f95e809fd7e8b23ba6318edc45e51fe39708bf9427e9c3e8b9
MD4(k1) = MD4(k2) = 4d7e6a1defa93d2dde05b45d864c429b

Note that two hex-digits of k1 and k2 define one byte of the input string, whose length is 64 bytes .

See also

[edit]

References

[edit]
  • Bert den Boer, Antoon Bosselaers: An Attack on the Last Two Rounds of MD4. Crypto 1991: 194–203
  • Hans Dobbertin: Cryptanalysis of MD4. Fast Software Encryption 1996: 53–69
  • Hans Dobbertin, 1998. Cryptanalysis of MD4. J. Cryptology 11(4): 253–271
  • Xiaoyun Wang, Xuejia Lai, Dengguo Feng, Hui Chen, Xiuyuan Yu: Cryptanalysis of the Hash Functions MD4 and RIPEMD. Eurocrypt 2005: 1–18
  • Yu Sasaki, Lei Wang, Kazuo Ohta, Noboru Kunihiro: New Message Difference for MD4. Fast Software Encryption 2007: 329–348
  1. ^Rivest, Ronald L. (October 1990)."The MD4 Message Digest Algorithm". Network Working Group. Retrieved2011-04-29.
  2. ^abcYu Sasaki; et al. (2007)."New message difference for MD4"(PDF).{{cite journal}}:Cite journal requires|journal= (help)
  3. ^"What are MD2, MD4, and MD5?".Public-Key Cryptography Standards (PKCS): PKCS #7: Cryptographic Message Syntax Standard: 3.6 Other Cryptographic Techniques: 3.6.6 What are MD2, MD4, and MD5?. RSA Laboratories. Archived fromthe original on 2011-09-01. Retrieved2011-04-29.
  4. ^"5.1 Security Considerations for Implementors". Retrieved2011-07-21.Deriving a key from a password is as specified in [RFC1320] and [FIPS46-2].
  5. ^Bert den Boer, Antoon Bosselaers (1991)."An Attack on the Last Two Rounds of MD4"(PDF). Archived fromthe original(PDF) on 2003-05-23.{{cite journal}}:Cite journal requires|journal= (help)
  6. ^Hans Dobbertin (1995-10-23)."Cryptanalysis of MD4".Journal of Cryptology.11 (4):253–271.doi:10.1007/s001459900047.S2CID 7462235.
  7. ^Gaëtan Leurent (2008-02-10)."MD4 is Not One-Way"(PDF).Fast Software Encryption, 15th International Workshop, FSE 2008. Lecture Notes in Computer Science.5086. Springer:412–428.doi:10.1007/978-3-540-71039-4_26. Archived fromthe original(PDF) on 2011-06-11.
  8. ^Guo, Jian; Ling, San; Rechberger, Christian; Wang, Huaxiong (2010)."Advanced Meet-in-the-Middle Preimage Attacks: First Results on Full Tiger, and Improved Results on MD4 and SHA-2".Advances in Cryptology - ASIACRYPT 2010. Lecture Notes in Computer Science. Vol. 6477. pp. 56–75.doi:10.1007/978-3-642-17373-8_4.hdl:10356/94168.ISBN 978-3-642-17372-1.

External links

[edit]
  • RFC 1320 - Description of MD4 by Ron Rivest
  • RFC 6150 - MD4 to Historic Status
  • Rivest, Ronald (1991). "The MD4 Message Digest Algorithm".Advances in Cryptology-CRYPT0' 90. Lecture Notes in Computer Science. Vol. 537. Springer Berlin / Heidelberg. pp. 303–311.doi:10.1007/3-540-38424-3_22.ISBN 978-3-540-54508-8.

Collision attacks

[edit]
Common functions
SHA-3 finalists
Other functions
Password hashing/
key stretching functions
General purpose
key derivation functions
MAC functions
Authenticated
encryption
modes
Attacks
Design
Standardization
Utilization
General
Mathematics
Retrieved from "https://en.wikipedia.org/w/index.php?title=MD4&oldid=1269037680"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp