jonelo.jacksum.adapt.gnu.crypto.hash

Class Whirlpool2000


public final class Whirlpool2000
extends BaseHash

Whirlpool2000, 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:

  1. The Whirlpool2000 Hashing Function.
    Paulo S.L.M. Barreto and Vincent Rijmen.

Constructor Summary

Whirlpool2000()
Trivial 0-arguments constructor.

Method Summary

Object
clone()
protected byte[]
getResult()
protected byte[]
padBuffer()
protected void
resetContext()
boolean
selfTest()
protected void
transform(byte[] in, int offset)

Constructor Details

Whirlpool2000

public Whirlpool2000()
Trivial 0-arguments constructor.

Method Details

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)