We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
Was this tool helpful to use?
Your feedback helps us make it better
Generate Snefru hashes online for data integrity checks and tamper verification.
This uses the built-in PHP Snefru digest and sends the input to a processing service. It is not reversible encryption. Compare only matching algorithm identifiers and input encodings. Do not use this legacy digest for password storage or security authentication.
Overview
Understand what the tool solves, how it works, and the boundaries of its data.
A hash function maps input text to a fixed-length digest. It is one-way in ordinary use: the digest is not a reversible encoding of the original text. This calculator accepts text and offers Snefru and Snefru-256 variants, producing hexadecimal output with a 128-bit or 256-bit length. A 128-bit digest uses 32 hexadecimal characters; a 256-bit digest uses 64, because each hex character represents four bits.
Choose the 128-bit Snefru option for a shorter digest or Snefru-256 for a longer one. The selector identifies digest size; it does not expose a round-count setting. Ralph Merkle’s original paper describes Snefru as a one-way hash function. Later cryptanalysis found collisions in Snefru, a material limitation when considering it for security purposes.
A digest can help compare whether the same exact text produces the same result under the same variant. Even a small input change will generally produce a different digest, but matching or differing hashes should not be treated as proof of authenticity or safety. NIST’s cryptography text documents the historical collision result.
Guide
Follow the workflow and verify inputs and outputs with practical examples.
Select Snefru (128-bit) or Snefru-256 (256-bit) from the variant selector.
Paste or type the text to hash. Whitespace and punctuation are part of the input, so preserve them when reproducing a comparison.
Run the calculation, then copy the hexadecimal output. To compare two values, use the same variant and ensure both inputs match exactly.
The output length is a quick check: expect 32 hex characters for 128-bit and 64 for 256-bit.
Use cases
See how the tool fits into real work and everyday tasks.
During compatibility work, calculate a digest for a non-sensitive sample and compare it with a known Snefru result produced by the same variant.
For a cryptography lesson, compare the two output lengths and discuss why a historical hash can be useful for study without being a modern security choice.
Q&A
Find concise answers to common questions and confusing cases.
No. A hash is not encryption, and the digest does not contain a reversible copy of the original text.
No. This page’s input is text; it does not provide file upload or batch hashing.
No. Snefru is a legacy algorithm with published collision cryptanalysis. Do not rely on it for password storage, authentication, digital signatures, or other security-critical controls.
Notes
Review scope, result limitations, and important precautions before use.
Snefru is provided for compatibility checks, education, and historical exploration. A digest alone does not authenticate who supplied a message, and collision weaknesses make this legacy algorithm unsuitable as a security control. Use a currently approved cryptographic design selected for your application rather than choosing an algorithm solely by output length. Avoid entering secrets or sensitive personal information into a hash demo.
Related
Discover related tools, collections, and available API capabilities.