portage.util.whirlpool module

portage.util.whirlpool.CDo(buf, a0, a1, a2, a3, a4, a5, a6, a7)
class portage.util.whirlpool.Whirlpool(arg=b'')

Bases: object

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

copy()
digest()
hexdigest()
update(arg)
portage.util.whirlpool.WhirlpoolAdd(source, sourceBits, ctx)
portage.util.whirlpool.WhirlpoolFinalize(ctx)
portage.util.whirlpool.WhirlpoolInit(ctx)
class portage.util.whirlpool.WhirlpoolStruct

Bases: object

portage.util.whirlpool.new(init=b'')

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

portage.util.whirlpool.processBuffer(ctx)