Hawkynt

MD4

MD4 is a 128-bit cryptographic hash function and predecessor to MD5. It is cryptographically broken with practical collision attacks and should only be used for educational purposes.

Properties

Property Value
Category Hash Functions
Sub-category MD Family
Security status Not classified
Complexity Not specified
Inventor Ronald Rivest
Year 1990
Origin πŸ‡ΊπŸ‡Έ United States
Source algorithms/hash/md.js

Parameters

Parameter Supported values
Output sizes 16 bytes (128 bits)

Security

Status: not classified β€” treat as unverified.

No vulnerabilities are recorded for this implementation.

Documentation

References

Test vectors

3 vectors ship with this algorithm and run in the test suite. Byte values are hexadecimal.

Vector 1 β€” RFC 1320 Test Vector - Empty string

Field Value
input (empty)
expected 31d6cfe0d16ae931b73c59d7e0c089c0

Vector 2 β€” RFC 1320 Test Vector - β€˜a’

Field Value
input 61
expected bde52cb31de33e46245e05fbdbd6fb24

Vector 3 β€” RFC 1320 Test Vector - β€˜abc’

Field Value
input 616263
expected a448017aaf21d8525fc10ae87aa6729d

← All algorithms