whirlpool hash generator online
Create the whirlpool hash of any text: 128 hex characters, the same result as PHP's hash(). Check a hash or a file below. Nothing leaves your browser.
Compare, hash a file, copy any format
Type text in the tool above or choose a file. Case, spaces and prefixes like whirlpool: don't matter.
hello world- Hex
8d8309ca6af848095bcabaf9a53b1b6ce7f594c1434fd6e5177e7e5c20e76cd30936d8606e7f36acbef8978fea008e6400a975d51abe6ba4923178c7cf90c802- HEX (upper case)
8D8309CA6AF848095BCABAF9A53B1B6CE7F594C1434FD6E5177E7E5C20E76CD30936D8606E7F36ACBEF8978FEA008E6400A975D51ABE6BA4923178C7CF90C802- Base64
jYMJymr4SAlbyrr5pTsbbOf1lMFDT9blF35+XCDnbNMJNthgbn82rL74l4/qAI5kAKl11Rq+a6SSMXjHz5DIAg==
Files are read in your browser and never uploaded.
What is Whirlpool?
Whirlpool is a 512-bit hash (128 hex characters) by Vincent Rijmen, co-designer of AES, and Paulo Barreto. It is built on an AES-like block cipher and standardised in ISO/IEC 10118-3. No practical attack is known; VeraCrypt still offers it, but it is slower than SHA-512 and rarely used.
- VeraCrypt (header key derivation)
- Legacy systems
Change one letter, see what happens
A cryptographic hash changes about half of all bits when one input character changes. Nothing about the old hash tells you what the new one will be.
……Calculating…
The same result in your code
Every snippet prints 8d8309ca6af848095bcabaf9a53b1b6ce7f594c1434fd6e5177e7e5c20e76cd30936d8606e7f36acbef8978fea008e6400a975d51abe6ba4923178c7cf90c802 for hello world, the same as the tool. They are run against PHP's hash() before each release.
echo hash('whirlpool', 'hello world');
Python, JavaScript, Java and Go have no built-in function for it. If you use a library, compare its output with the test values above.
Whirlpool test values
Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.
| Input | whirlpool |
|---|---|
| empty string | 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3 |
abc | 4e2448a4c6f486bb16b6562c73b4020bf3043e3a731bce721ae1b303d97e6d4c7181eebdb6c57e277d0e34957114cbd6c797fc9d95d8b582d225292076d4eef5 |
hello world | 8d8309ca6af848095bcabaf9a53b1b6ce7f594c1434fd6e5177e7e5c20e76cd30936d8606e7f36acbef8978fea008e6400a975d51abe6ba4923178c7cf90c802 |
The quick brown fox jumps over the lazy dog | b97de512e91e3828b40d2b0fdce9ceb3c4a71f9bea8d88e75c4fa854df36725fd2b52eb6544edcacd6f8beddfea403cb55ae31f03ad62a5ef54e42ee82c3fb35 |
Why your Whirlpool doesn't match
echo "hello world" | sha256sum hashes 12 bytes: the text plus a line break. Use printf '%s' 'hello world' or echo -n to hash exactly 11 bytes.
The tool hashes UTF-8 bytes, like most languages. Windows APIs and .NET's Encoding.Unicode use UTF-16, older systems Latin-1. "ü" is 2 bytes in UTF-8, 1 in Latin-1, 2 in UTF-16, and each gives a different hash.
Hex is not case-sensitive: 5EB63BBB… and 5eb63bbb… are the same hash. Compare in one case, and watch for spaces or a prefix like "sha256:".
Like the form on the original site, the tool removes spaces and line breaks at the start and end and sends line breaks as CRLF (\r\n). For exact bytes use "Hash a file" or "Exactly as typed" in the check panel.
Whirlpool, Snefru and GOST side by side
The same text, every historic algorithm. Shown for hello world; type in the tool above to use your text.
| Algorithm | Hash | Bits |
|---|---|---|
| whirlpool | 8d8309ca6af848095bcabaf9a53b1b6ce7f594c1434fd6e5177e7e5c20e76cd30936d8606e7f36acbef8978fea008e6400a975d51abe6ba4923178c7cf90c802 | 512 |
| snefru | 902b49fa8b0828b44d8ac069111899bbfaf51d334485e4b28e90c93f63bb86dd | 256 |
| snefru256 | 902b49fa8b0828b44d8ac069111899bbfaf51d334485e4b28e90c93f63bb86dd | 256 |
| gost | 1bb6ce69d2e895a78489c87a0712a2f40258d1fae3a4666c23f8f487bef0e22a | 256 |
| gost-crypto | c5aa1455afe9f0c440eec3c96ccccb5c8495097572cc0f625278bd0da5ea5e07 | 256 |
How fast is Whirlpool?
Hashes up to 4 MB of random data in your browser and compares with sha256, xxh3. Browser numbers are lower than native code, but the ranking holds.
Questions about Whirlpool
Can Whirlpool be decrypted?
No. Whirlpool is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" Whirlpool look the hash up in large tables of known inputs, which only works for short or common strings.
How long is a Whirlpool hash?
A Whirlpool hash is always 512 bits, written as 128 hexadecimal characters (64 bytes), no matter how long the input is.
Is Whirlpool secure?
It is not known to be broken in practice, but Whirlpool is rarely used, little studied today and not recommended for new designs. Use SHA-256 or SHA3-256 instead.
Should I hash passwords with Whirlpool?
No. Whirlpool is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.