| java.lang.Object org.bouncycastle.crypto.digests.MD2Digest
MD2Digest | public class MD2Digest implements ExtendedDigest(Code) | | implementation of MD2
as outlined in RFC1319 by B.Kaliski from RSA Laboratories April 1992
|
Method Summary | |
public int | doFinal(byte[] out, int outOff) close the digest, producing the final digest value. | public String | getAlgorithmName() | public int | getByteLength() | public int | getDigestSize() return the size, in bytes, of the digest produced by this message digest. | protected void | processBlock(byte[] m) | protected void | processCheckSum(byte[] m) | public void | reset() reset the digest back to it's initial state. | public void | update(byte in) update the message digest with a single byte. | public void | update(byte[] in, int inOff, int len) update the message digest with a block of bytes. |
MD2Digest | public MD2Digest()(Code) | | |
doFinal | public int doFinal(byte[] out, int outOff)(Code) | | close the digest, producing the final digest value. The doFinal
call leaves the digest reset.
Parameters: out - the array the digest is to be copied into. Parameters: outOff - the offset into the out array the digest is to start at. |
getAlgorithmName | public String getAlgorithmName()(Code) | | return the algorithm name
the algorithm name |
getByteLength | public int getByteLength()(Code) | | |
getDigestSize | public int getDigestSize()(Code) | | return the size, in bytes, of the digest produced by this message digest.
the size, in bytes, of the digest produced by this message digest. |
processBlock | protected void processBlock(byte[] m)(Code) | | |
processCheckSum | protected void processCheckSum(byte[] m)(Code) | | |
reset | public void reset()(Code) | | reset the digest back to it's initial state.
|
update | public void update(byte in)(Code) | | update the message digest with a single byte.
Parameters: in - the input byte to be entered. |
update | public void update(byte[] in, int inOff, int len)(Code) | | update the message digest with a block of bytes.
Parameters: in - the byte array containing the data. Parameters: inOff - the offset into the byte array where the data starts. Parameters: len - the length of the data. |
|
|