gnu.crypto.hash

Class Whirlpool

public final class Whirlpool extends BaseHash

Whirlpool, 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 WHIRLPOOL Hashing Function.
    Paulo S.L.M. Barreto and Vincent Rijmen.

Version: $Revision: 1.10 $

Constructor Summary
Whirlpool()
Trivial 0-arguments constructor.
Method Summary
Objectclone()
protected byte[]getResult()
protected byte[]padBuffer()
protected voidresetContext()
booleanselfTest()
protected voidtransform(byte[] in, int offset)

Constructor Detail

Whirlpool

public Whirlpool()
Trivial 0-arguments constructor.

Method Detail

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)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.