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.

Runs in your browser
A hash is one-way. It can't be turned back into the text.
Check & convert

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.

Formats for hello world
Hex
c52ac4d06245286b33953957be6c6f81
HEX (upper case)
C52AC4D06245286B33953957BE6C6F81
Base64
xSrE0GJFKGszlTlXvmxvgQ==

Files are read in your browser and never uploaded.

In short

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.

LegacyNo practical break of the full algorithm is public, but it is rarely used and not recommended for new designs.
Try it

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.

Hash A…
Hash B…

Calculating…

Use it in code

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.

PHP
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.

Test values

RIPEMD-128 test values

Hashes of common test strings (UTF-8, no line break). Use them to check your own implementation.

Inputripemd128
empty stringcdf26213a150dc3ecb610f18f6b38b46
abcc14a12199c66e4ba84636b0f69144c77
hello worldc52ac4d06245286b33953957be6c6f81
The quick brown fox jumps over the lazy dog3fa9b57f053c053fbe2735b2380db596
Common mistakes

Why your RIPEMD-128 doesn't match

Longer is not stronger

RIPEMD-256 and RIPEMD-320 only double the output of RIPEMD-128 and RIPEMD-160; their security stays the same.

A line break sneaks in

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.

Same text, different 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.

Upper or lower case

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:".

This tool trims and uses CRLF

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.

Compare

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.

AlgorithmHashBits
ripemd128c52ac4d06245286b33953957be6c6f81128
ripemd16098c615784ccb5fe5936fbc0cbe9dfdb408d92f0f160
ripemd2560d375cf9d9ee95a3bb15f757c81e93bb0ad963edf69dc4d12264031814608e37256
ripemd3200e12fe7d075f8e319e07c106917eddb0135e9a10aefb50a8a07ccb0582ff1fa27b95ed5af57fd5c6320
Measured on your device

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.

FAQ

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.

Good to know

Before you rely on it

Searches the list of pages on this site. What you type stays in your browser.