java.lang.Object | |
↳ | org.bouncycastle.crypto.digests.MD2Digest |
implementation of MD2 as outlined in RFC1319 by B.Kaliski from RSA Laboratories April 1992
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
close the digest, producing the final digest value.
| |||||||||||
return the algorithm name
| |||||||||||
Return the size in bytes of the internal buffer the digest applies it's compression
function to.
| |||||||||||
return the size, in bytes, of the digest produced by this message digest.
| |||||||||||
reset the digest back to it's initial state.
| |||||||||||
update the message digest with a block of bytes.
| |||||||||||
update the message digest with a single byte.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.crypto.Digest
| |||||||||||
From interface
org.bouncycastle.crypto.ExtendedDigest
|
close the digest, producing the final digest value. The doFinal call leaves the digest reset.
out | the array the digest is to be copied into. |
---|---|
outOff | the offset into the out array the digest is to start at. |
Return the size in bytes of the internal buffer the digest applies it's compression function to.
return the size, in bytes, of the digest produced by this message digest.
reset the digest back to it's initial state.
update the message digest with a block of bytes.
in | the byte array containing the data. |
---|---|
inOff | the offset into the byte array where the data starts. |
len | the length of the data. |
update the message digest with a single byte.
in | the input byte to be entered. |
---|