ripemd128 hash generator online
Create the ripemd128 hash of any text: 32 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 ripemd128: don't matter.
hello world- Hex
c52ac4d06245286b33953957be6c6f81- HEX (upper case)
C52AC4D06245286B33953957BE6C6F81- Base64
xSrE0GJFKGszlTlXvmxvgQ==
Files are read in your browser and never uploaded.
What is RIPEMD-128?
RIPEMD-128 is the 128-bit version of RIPEMD from 1996. With only 128 bits it offers at most 64-bit collision resistance, which is too little today. 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 c52ac4d06245286b33953957be6c6f81 for hello world, the same as the tool. They are run against PHP's hash() before each release.
echo hash('ripemd128', '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-128 test values
Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.
| Input | ripemd128 |
|---|---|
| empty string | cdf26213a150dc3ecb610f18f6b38b46 |
abc | c14a12199c66e4ba84636b0f69144c77 |
hello world | c52ac4d06245286b33953957be6c6f81 |
The quick brown fox jumps over the lazy dog | 3fa9b57f053c053fbe2735b2380db596 |
Why your RIPEMD-128 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-128?
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-128
Can RIPEMD-128 be decrypted?
No. RIPEMD-128 is a one-way function: there is no key and no way to compute the input from the hash. Sites that "decrypt" RIPEMD-128 look the hash up in large tables of known inputs, which only works for short or common strings.
How long is a RIPEMD-128 hash?
A RIPEMD-128 hash is always 128 bits, written as 32 hexadecimal characters (16 bytes), no matter how long the input is.
Is RIPEMD-128 secure?
It is not known to be broken in practice, but RIPEMD-128 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-128?
No. RIPEMD-128 is fast, so attackers can test huge numbers of guesses. Use Argon2id, bcrypt or scrypt with a unique salt per password.