CoderTools

Snefru Hash Generator

Generate Snefru-128/256 hashes for text and files, early cryptographic hash function by Ralph Merkle

Input will be encoded as UTF-8 text

About Snefru Hash

Snefru is a cryptographic hash function designed by Ralph Merkle in 1990. It was named after the Egyptian Pharaoh Sneferu. The algorithm uses a Feistel network structure with S-boxes for mixing.

While historically significant as one of the earliest hash functions designed with security considerations, Snefru has known weaknesses and is no longer recommended for security-critical applications. It remains useful for educational purposes and legacy system compatibility.

Snefru Variants

Version Output Size Rounds Status
Snefru-128 128 bits (16 bytes) 8 Legacy
Snefru-256 256 bits (32 bytes) 8 Recommended

History

Example Hashes

Input: "hello"

Snefru-128: bdee67c258643765ac85389eccf8641f

Snefru-256: 7c5f22b1a92d9470efea37ec6ed00b2357a4ce3c41aa6e28e3b84057465dbb56

Security Notice

Snefru has known cryptographic weaknesses. Differential cryptanalysis can find collisions much faster than brute force. For security-critical applications, use SHA-256 or SHA-3 instead.

References