haval192,5 hash generator online
Create the haval192,5 hash of any text: 48 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 haval192,5: don't matter.
hello world- Hex
67c3492878c8fc4819c8589231fcfe69b15b015c1ca48ac5- HEX (upper case)
67C3492878C8FC4819C8589231FCFE69B15B015C1CA48AC5- Base64
Z8NJKHjI/EgZyFiSMfz+abFbAVwcpIrF
Files are read in your browser and never uploaded.
What is HAVAL-192, 5 passes?
HAVAL is a hash by Zheng, Pieprzyk and Seberry (1992) with a choice of 3, 4 or 5 passes and five output lengths. haval192,5 uses 5 passes and gives 192 bits (48 hex characters). Shorter outputs are folded from the 256-bit state, not simply cut, so they don't match the start of haval256. Attacks on reduced versions are known; it is only used to match old data.
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 67c3492878c8fc4819c8589231fcfe69b15b015c1ca48ac5 for hello world, the same as the tool. They are run against PHP's hash() before each release.
echo hash('haval192,5', '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.
HAVAL-192, 5 passes test values
Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.
| Input | haval192,5 |
|---|---|
| empty string | 4839d0626f95935e17ee2fc4509387bbe2cc46cb382ffe85 |
abc | d12091104555b00119a8d07808a3380bf9e60018915b9025 |
hello world | 67c3492878c8fc4819c8589231fcfe69b15b015c1ca48ac5 |
The quick brown fox jumps over the lazy dog | 023d045f75d4bf051fd6e50f7b7417bf9949c4b5d2b4b7ef |
Why your HAVAL-192, 5 passes doesn't match
HAVAL folds its 256-bit state down to 128–224 bits, so haval128,3 is not the start of haval256,3.
haval256,3, haval256,4 and haval256,5 give three unrelated results. Both numbers have to 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.
The HAVAL family side by side
The same text, every HAVAL algorithm. Shown for hello world; type in the tool above to use your text.
| Algorithm | Hash | Bits |
|---|---|---|
| haval128,3 | 906c1df7cbe6d318f36ab172f95e89c0 | 128 |
| haval160,3 | 6e733b21876e47c2168a122e23d86bdd69e50f95 | 160 |
| haval192,3 | ec67a6a417953fdbf3496502004b6c21b270d5890dedd931 | 192 |
| haval224,3 | 766879d9ba1dc9e24a6040908a7ae813a47b08af5c5f3beebcacda48 | 224 |
| haval256,3 | 45492c6c8adab277759f4381420799431a037daf6d829b8b5c21104c10f61a92 | 256 |
| haval128,4 | c97d46956b8e3e60acd2bb090c482c5e | 128 |
| haval160,4 | 2cb8b12eb5a2561022010c2a2af8795e602fdef2 | 160 |
| haval192,4 | 39a281e4e492533b6dfea0af294149ccac771ab87204c9ec | 192 |
| haval224,4 | 3d64d34aea48f5e649ed6147da5d29d31c762a937e9e21f4da1f3106 | 224 |
| haval256,4 | 0359a526d77e271707c44d9b270e68a394f8486a459f0137ad5e1d02e44c5889 | 256 |
| haval128,5 | 8332ad9f32e385d9acd421b63ee04cfc | 128 |
| haval160,5 | d33cf9052d55da9b0f506cb8849097939363e361 | 160 |
| haval192,5 | 67c3492878c8fc4819c8589231fcfe69b15b015c1ca48ac5 | 192 |
| haval224,5 | 6bedeb6a8676e46413c020c8813c022486ca93353b8a0673fb577ba1 | 224 |
| haval256,5 | f5f6ffcfe39a65ac2c3989430340420341762a6624ebd69b9d08ec1dc4b9f167 | 256 |
How fast is HAVAL-192, 5 passes?
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 HAVAL-192, 5 passes
Can HAVAL-192, 5 passes be decrypted?
No. HAVAL-192, 5 passes is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" HAVAL-192, 5 passes look the hash up in large tables of known inputs, which only works for short or common strings.
How long is a HAVAL-192, 5 passes hash?
A HAVAL-192, 5 passes hash is always 192 bits, written as 48 hexadecimal characters (24 bytes), no matter how long the input is.
Is HAVAL-192, 5 passes secure?
It is not known to be broken in practice, but HAVAL-192, 5 passes is rarely used, little studied today and not recommended for new designs. Use SHA-256 or SHA3-256 instead.
Should I hash passwords with HAVAL-192, 5 passes?
No. HAVAL-192, 5 passes is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.
What do the numbers in haval192,5 mean?
192 is the output length in bits, 5 the number of passes over each block. Change either and you get a different hash.