| java.lang.Object org.bouncycastle.crypto.digests.ShortenedDigest
ShortenedDigest | public class ShortenedDigest implements ExtendedDigest(Code) | | Wrapper class that reduces the output length of a particular digest to
only the first n bytes of the digest function.
|
ShortenedDigest | public ShortenedDigest(ExtendedDigest baseDigest, int length)(Code) | | Base constructor.
Parameters: baseDigest - underlying digest to use. Parameters: length - length in bytes of the output of doFinal. exception: IllegalArgumentException - if baseDigest is null, or length is greater than baseDigest.getDigestSize(). |
doFinal | public int doFinal(byte[] out, int outOff)(Code) | | |
getByteLength | public int getByteLength()(Code) | | |
getDigestSize | public int getDigestSize()(Code) | | |
reset | public void reset()(Code) | | |
update | public void update(byte in)(Code) | | |
update | public void update(byte[] in, int inOff, int len)(Code) | | |
|
|