Algorithms

RIPEMD-160

A 160-bit hash from 1996 with HMAC. Alive mostly because Bitcoin puts it under HASH160
IDripemd16014 / 24cryptographic · 160-bit
Hash / Cryptographic

RIPEMD-160

160 bits from 1996, alive thanks to Bitcoin.

Digest
160-bit · 20 bytes
HMAC
takes a key
Security
80-bit collision resistance
Used by
Bitcoin
2 options, 0 required

Sample

hex
98c615784ccb5fe5936fbc0cbe9dfdb408d92f0f
base64
mMYVeEzLX+WTb7wMvp39tAjZLw8=

Options

encodingstring
default hex
Output encoding: hex, base64, base64url, binary
keystring
optional
HMAC key; enables HMAC mode

Access

Createcreate("ripemd160")
CLIhashes ripemd160 'hello world'
Tryplayground with the sample above
Kinsha256, sha384, sha512, sha512-half +11

A 1996 European design with two parallel lines of computation. On its own it's rare today. Under SHA-256 it's the second half of every Bitcoin address, see HASH160.

ts
create("ripemd160").hash("").digest;
// "9c1185a5c5e9fc54612808977ee8f548b2258d31"
create("ripemd160").hash("abc").digest;
// "8eb208f7e05d987a9b044a8e98c6b087f15a0bfc"

160 bits means 80 bits of collision resistance, which is fine for addresses and too little for new designs. HMAC-RIPEMD-160 is supported.