jonelo.jacksum.adapt.gnu.crypto.hash
Class Whirlpool2003
BaseHash
jonelo.jacksum.adapt.gnu.crypto.hash.Whirlpool2003
public final class Whirlpool2003
extends BaseHash
Whirlpool2003, a new 512-bit hashing function operating on messages less than
2 ** 256 bits in length. The function structure is designed according to the
Wide Trail strategy and permits a wide variety of implementation trade-offs.
IMPORTANT: This implementation is not thread-safe.
References:
-
The WHIRLPOOL Hashing Function.
Paulo S.L.M. Barreto and
Vincent Rijmen.
Whirlpool2003
public Whirlpool2003()
Trivial 0-arguments constructor.
clone
public Object clone()
getResult
protected byte[] getResult()
padBuffer
protected byte[] padBuffer()
resetContext
protected void resetContext()
selfTest
public boolean selfTest()
transform
protected void transform(byte[] in,
int offset)