ripemd320 hash generator online
Create the ripemd320 hash of any text: 80 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 ripemd320: don't matter.
hello world- Hex
0e12fe7d075f8e319e07c106917eddb0135e9a10aefb50a8a07ccb0582ff1fa27b95ed5af57fd5c6- HEX (upper case)
0E12FE7D075F8E319E07C106917EDDB0135E9A10AEFB50A8A07CCB0582FF1FA27B95ED5AF57FD5C6- Base64
DhL+fQdfjjGeB8EGkX7dsBNemhCu+1CooHzLBYL/H6J7le1a9X/Vxg==
Files are read in your browser and never uploaded.
What is RIPEMD-320?
RIPEMD-320 runs the two parallel lines of RIPEMD-160 and keeps both results instead of combining them, so the output doubles to 320 bits. It is longer, but not more secure than RIPEMD-160. Use it only to match existing 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 0e12fe7d075f8e319e07c106917eddb0135e9a10aefb50a8a07ccb0582ff1fa27b95ed5af57fd5c6 for hello world, the same as the tool. They are run against PHP's hash() before each release.
echo hash('ripemd320', '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.
RIPEMD-320 test values
Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.
| Input | ripemd320 |
|---|---|
| empty string | 22d65d5661536cdc75c1fdf5c6de7b41b9f27325ebc61e8557177d705a0ec880151c3a32a00899b8 |
abc | de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d |
hello world | 0e12fe7d075f8e319e07c106917eddb0135e9a10aefb50a8a07ccb0582ff1fa27b95ed5af57fd5c6 |
The quick brown fox jumps over the lazy dog | e7660e67549435c62141e51c9ab1dcc3b1ee9f65c0b3e561ae8f58c5dba3d21997781cd1cc6fbc34 |
Why your RIPEMD-320 doesn't match
RIPEMD-256 and RIPEMD-320 only double the output of RIPEMD-128 and RIPEMD-160; their security stays the same.
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 RIPEMD family side by side
The same text, every RIPEMD algorithm. Shown for hello world; type in the tool above to use your text.
How fast is RIPEMD-320?
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 RIPEMD-320
Can RIPEMD-320 be decrypted?
No. RIPEMD-320 is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" RIPEMD-320 look the hash up in large tables of known inputs, which only works for short or common strings.
How long is a RIPEMD-320 hash?
A RIPEMD-320 hash is always 320 bits, written as 80 hexadecimal characters (40 bytes), no matter how long the input is.
Is RIPEMD-320 secure?
It is not known to be broken in practice, but RIPEMD-320 is rarely used, little studied today and not recommended for new designs. Use SHA-256 or SHA3-256 instead.
Should I hash passwords with RIPEMD-320?
No. RIPEMD-320 is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.