Ripemd160

scalus.crypto.Ripemd160
object Ripemd160

Pure Scala implementation of RIPEMD-160 hash function.

Implementation follows the RIPEMD-160 specification by Dobbertin, Bosselaers, and Preneel. Cross-checked with BouncyCastle and official test vectors.

RIPEMD-160 processes 512-bit (64-byte) blocks and produces a 160-bit (20-byte) digest. It uses two parallel processing lines (left and right) that are combined after 80 rounds.

Attributes

See also
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Ripemd160.type

Members list

Value members

Concrete methods

def ripemd160(input: Array[Byte]): Array[Byte]

Compute RIPEMD-160 hash.

Compute RIPEMD-160 hash.

Value parameters

input

the input bytes

Attributes

Returns

20-byte hash