RIPEMD

Implementation of RIPEMD digester.

RIPEMD (RACE Integrity Primitives Evaluation Message Digest) is a family of cryptographic hash functions developed in the early 1990s. RIPEMD is designed as an alternative to the then-popular MD4 and MD5 algorithms. It produces a 160-bit hash value, which is commonly represented as a 40-digit hexadecimal number.

static
@digester
class RIPEMD {}

Members

Static functions

hash
auto hash(ubyte[] data)

Computes the RIPEMD hash digest of the given data.

Examples

import tern.digest.ripemd;

ubyte[] data = [1, 2, 3, 4, 5];
auto hashValue = RIPEMD.hash(data);

Meta