graphenebase.ripemd160 module

graphenebase.ripemd160.compress(h0, h1, h2, h3, h4, block)

Compress state (h0, h1, h2, h3, h4) with block.

graphenebase.ripemd160.fi(x, y, z, i)

The f1, f2, f3, f4, and f5 functions from the specification.

graphenebase.ripemd160.ripemd160(data)

Compute the RIPEMD-160 hash of data.

graphenebase.ripemd160.rol(x, i)

Rotate the bottom 32 bits of x left by i bits.