Skip to main content
Ripemd160 (also exported as Ripemd160Hash) computes 20-byte (160-bit) RIPEMD-160 digests backed by @noble/hashes/legacy.js. Every hashing method returns a branded 20-byte Uint8Array (Ripemd160Hash).

Data Flow

Quick Start

API Reference

All functions are available on Ripemd160 / Ripemd160Hash and as tree-shakeable named exports from @tevm/voltaire/Ripemd160.

Security Warning

RIPEMD-160 provides only 80-bit collision resistance due to its 160-bit output size. Use it only for protocol compatibility (EVM precompile 0x03, Bitcoin HASH160). Use Keccak256 or SHA256 for new protocols.

Test Vectors