org.bouncycastle.crypto.digests
Class WhirlpoolDigest
java.lang.Object
org.bouncycastle.crypto.digests.WhirlpoolDigest
- Digest, ExtendedDigest
public final class WhirlpoolDigest
extends java.lang.Object
Implementation of WhirlpoolDigest, based on Java source published by Barreto
and Rijmen.
WhirlpoolDigest
public WhirlpoolDigest()
WhirlpoolDigest
public WhirlpoolDigest(WhirlpoolDigest originalDigest)
Copy constructor. This will copy the state of the provided message
digest.
doFinal
public int doFinal(byte[] out,
int outOff)
- doFinal in interface Digest
getByteLength
public int getByteLength()
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
- getByteLength in interface ExtendedDigest
- byte length of the digests internal buffer.
processBlock
protected void processBlock()
reset
public void reset()
reset the chaining variables
- reset in interface Digest
update
public void update(byte[] in,
int inOff,
int len)
- update in interface Digest