cryptnoxpy.cryptos.ripemd

Module Contents

Classes

RIPEMD160

Return a new RIPEMD160 object. An optional string argument

RMDContext

Functions

new(arg=None)

Return a new RIPEMD160 object. An optional string argument

ROL(n, x)

F0(x, y, z)

F1(x, y, z)

F2(x, y, z)

F3(x, y, z)

F4(x, y, z)

R(a, b, c, d, e, Fj, Kj, sj, rj, X)

RMD160Transform(state, block)

RMD160Update(ctx, inp, inplen)

RMD160Final(ctx)

Attributes

is_python2

digest_size

digestsize

range

K0

K1

K2

K3

K4

KK0

KK1

KK2

KK3

KK4

PADDING

cryptnoxpy.cryptos.ripemd.is_python2
cryptnoxpy.cryptos.ripemd.digest_size = 20
cryptnoxpy.cryptos.ripemd.digestsize = 20
cryptnoxpy.cryptos.ripemd.range
class cryptnoxpy.cryptos.ripemd.RIPEMD160(arg=None)

Return a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.

update(self, arg)

update(arg)

digest(self)

digest()

hexdigest(self)

hexdigest()

copy(self)

copy()

cryptnoxpy.cryptos.ripemd.new(arg=None)

Return a new RIPEMD160 object. An optional string argument may be provided; if present, this string will be automatically hashed.

class cryptnoxpy.cryptos.ripemd.RMDContext
copy(self)
cryptnoxpy.cryptos.ripemd.K0 = 0
cryptnoxpy.cryptos.ripemd.K1 = 1518500249
cryptnoxpy.cryptos.ripemd.K2 = 1859775393
cryptnoxpy.cryptos.ripemd.K3 = 2400959708
cryptnoxpy.cryptos.ripemd.K4 = 2840853838
cryptnoxpy.cryptos.ripemd.KK0 = 1352829926
cryptnoxpy.cryptos.ripemd.KK1 = 1548603684
cryptnoxpy.cryptos.ripemd.KK2 = 1836072691
cryptnoxpy.cryptos.ripemd.KK3 = 2053994217
cryptnoxpy.cryptos.ripemd.KK4 = 0
cryptnoxpy.cryptos.ripemd.ROL(n, x)
cryptnoxpy.cryptos.ripemd.F0(x, y, z)
cryptnoxpy.cryptos.ripemd.F1(x, y, z)
cryptnoxpy.cryptos.ripemd.F2(x, y, z)
cryptnoxpy.cryptos.ripemd.F3(x, y, z)
cryptnoxpy.cryptos.ripemd.F4(x, y, z)
cryptnoxpy.cryptos.ripemd.R(a, b, c, d, e, Fj, Kj, sj, rj, X)
cryptnoxpy.cryptos.ripemd.PADDING
cryptnoxpy.cryptos.ripemd.RMD160Transform(state, block)
cryptnoxpy.cryptos.ripemd.RMD160Update(ctx, inp, inplen)
cryptnoxpy.cryptos.ripemd.RMD160Final(ctx)