JDKMessageDigestpublic class JDKMessageDigest extends MessageDigest
Fields Summary |
---|
org.bouncycastle.crypto.Digest | digest |
Methods Summary |
---|
public byte[] | engineDigest()
byte[] digestBytes = new byte[digest.getDigestSize()];
digest.doFinal(digestBytes, 0);
return digestBytes;
| public void | engineReset()
digest.reset();
| public void | engineUpdate(byte input)
digest.update(input);
| public void | engineUpdate(byte[] input, int offset, int len)
digest.update(input, offset, len);
|
|