What is RIPEMD-160?
RIPEMD-160 is a 160-bit hash designed in Europe in 1996 as an open alternative to SHA-1. It survives today mostly because Bitcoin uses it: an address is RIPEMD-160 of the SHA-256 of a public key ("HASH160").
In Bitcoin it is applied to bytes, not text: an address hashes the public key bytes with SHA-256 and then RIPEMD-160, so hashing a hex string as text gives a different result.
This page opens the hash generator with RIPEMD-160 on top and highlighted. The text is encoded as UTF-8 and hashed in your browser as you type; nothing is sent anywhere.
RIPEMD-160 at a glance
| RIPEMD-160 | |
|---|---|
| Digest size | 160 bits (40 hex characters) |
| Standard | ISO/IEC 10118-3 |
| Published | 1996 |
| Secure against attackers | no known practical attack, but 160 bits is short by today’s standards |
| Where it is used | Bitcoin addresses (HASH160), PGP fingerprints of old keys |
| Good for passwords | no: use bcrypt or Argon2 |
How to generate a RIPEMD-160 hash
- Type or paste the text in the input box.
- Read the RIPEMD-160 row, at the top of the list; it updates as you type.
- To check a known RIPEMD-160, paste it in the comparison field: the matching row lights up.
Example
RIPEMD-160 of three inputs, computed by the same code as the tool:
| Input | RIPEMD-160 (hex) |
|---|---|
hello world | 98c615784ccb5fe5936fbc0cbe9dfdb408d92f0f |
| (empty text) | 9c1185a5c5e9fc54612808977ee8f548b2258d31 |
stdlib.tools | 20b6c975a9296b8bf25288f102061d6c3eebc023 |
A single invisible line break changes everything: hello world followed by a newline (what echo prints) gives a915519a9fb5cee65a56ad04123ccaa34485067c. When your value does not match, check trailing spaces and line breaks first.
RIPEMD-160 in code
hash-wasm
import { ripemd160 } from 'hash-wasm';
await ripemd160('hello world');Python (pycryptodome)
from Crypto.Hash import RIPEMD160
RIPEMD160.new(b"hello world").hexdigest()OpenSSL 3
printf 'hello world' | openssl dgst -ripemd160 -provider legacy -provider defaultFrequently asked questions
Is RIPEMD-160 still secure?
No known practical attack, but 160 bits is short by today’s standards. Typical uses today: Bitcoin addresses (HASH160), PGP fingerprints of old keys.
How long is a RIPEMD-160 hash?
160 bits: 40 hexadecimal characters, or 28 characters in Base64 (with padding), such as mMYVeEzLX+WTb7wMvp39tAjZLw8= for hello world.
Why does my RIPEMD-160 differ from another tool?
The input differs: a trailing newline, spaces or another text encoding (UTF-8 here). Hex is case-insensitive.