Hash family

RIPEMD

The European RIPE-project hashes, best known as RIPEMD-160 in Bitcoin addresses

legacy 4 variants RIPE project; ISO/IEC 10118-3

Overview

RIPEMD is a family of hash functions from the European RIPE project. RIPEMD-160, designed by Hans Dobbertin, Antoon Bosselaers and Bart Preneel in 1996, is standardised in ISO/IEC 10118-3 and remains unbroken, though it sees little new use outside Bitcoin.

RIPEMD-160 is a Merkle–Damgård hash with an unusual compression function: two independent lines of five rounds each process the same 512-bit block in parallel with different constants and boolean functions, and their results are combined at the end. This dual-line design was a response to attacks on MD4 and on the original 1992 RIPEMD.

NextSSL includes RIPEMD-128, RIPEMD-160, RIPEMD-256 and RIPEMD-320. RIPEMD-256 and RIPEMD-320 are double-width variants of the 128- and 160-bit versions that keep the two lines separate; they offer longer outputs but are not designed to be stronger than their base functions. RIPEMD-160 is used in Bitcoin, where public keys are hashed with SHA-256 followed by RIPEMD-160.

History

1992–2004
  1. Original RIPEMD developed in the EU RIPE project

  2. RIPEMD-160 published by Dobbertin, Bosselaers and Preneel

  3. Collision found in the original RIPEMD

Security notes

No practical collision attack on full RIPEMD-160 is known, though reduced-round collisions continue to improve. RIPEMD-128 has a 64-bit collision bound and is too short for modern use. The 256- and 320-bit variants should not be assumed to give more than 128- or 160-bit security.

Typical uses

Bitcoin and cryptocurrency address derivationLegacy OpenPGP fingerprintsInteroperability with ISO/IEC 10118-3

Variants in NextSSL

4
AlgorithmTierSizes (bytes)StandardsAPI
Ripemd128
ripemd128
legacy out 16 ISO/IEC 10118-3 root
RIPEMD-160
ripemd160
legacy out 20 ISO/IEC 10118-3 root
Ripemd256
ripemd256
legacy out 32 ISO/IEC 10118-3 root
Ripemd320
ripemd320
legacy out 40 RIPEMD-320 (Dobbertin, Bosselaers, Preneel) root

Frequently asked questions

Which RIPEMD variants does NextSSL include?

NextSSL registers 4 RIPEMD variants: ripemd128, ripemd160, ripemd256, ripemd320.