| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private int | |
| private static final int | |
| private byte[] | |
| private int | |
| private final CryptoServicePurpose | |
| private static final byte[] | |
| private byte[] | |
| private int |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Memoable | copy()
Implements org. |
| private void | |
| public int | doFinal(byte[]
the array the digest is to be copied into. out, int the offset into the out array the digest is to start at. outOff)Implements org. |
| public String | Returns: the algorithm nameImplements org. |
| public int | getByteLength()
Implements org. |
| public int | Returns: the size, in bytes, of the digest produced by this message digest.Implements org. |
| protected void | |
| protected void | |
| public void | reset()
Implements org. |
| public void | reset(Memoable
an object originally other)copied from an object of the same type as this instance.Implements org. |
| public void | update(byte
the input byte to be entered. in)Implements org. |
| public void | update(byte[]
the byte array containing the data. in, int the offset into the byte array where the data starts. inOff, int the length of the data. len)Implements org. |
| C | back to summary |
|---|---|
| private byte[] C | |
| COff | back to summary |
|---|---|
| private int COff | |
| DIGEST_LENGTH | back to summary |
|---|---|
| private static final int DIGEST_LENGTH | |
| M | back to summary |
|---|---|
| private byte[] M | |
| mOff | back to summary |
|---|---|
| private int mOff | |
| purpose | back to summary |
|---|---|
| private final CryptoServicePurpose purpose | |
| S | back to summary |
|---|---|
| private static final byte[] S | |
| X | back to summary |
|---|---|
| private byte[] X | |
| xOff | back to summary |
|---|---|
| private int xOff | |
| MD2Digest | back to summary |
|---|---|
| public MD2Digest() | |
| MD2Digest | back to summary |
|---|---|
| public MD2Digest(CryptoServicePurpose purpose) | |
| MD2Digest | back to summary |
|---|---|
| public MD2Digest(MD2Digest t) | |
| copy | back to summary |
|---|---|
| public Memoable copy() Implements org. Doc from org. Produce a copy of this object with its configuration and in its current state. The returned object may be used simply to store the state, or may be used as a similar object starting from the copied state. | |
| copyIn | back to summary |
|---|---|
| private void copyIn(MD2Digest t) | |
| doFinal | back to summary |
|---|---|
| public int doFinal(byte[] out, int outOff) Implements org. close the digest, producing the final digest value. The doFinal call leaves the digest reset.
| |
| getAlgorithmName | back to summary |
|---|---|
| public String getAlgorithmName() Implements org. return the algorithm name
| |
| getByteLength | back to summary |
|---|---|
| public int getByteLength() Implements org. Doc from org. Return the size in bytes of the internal buffer the digest applies it's compression function to.
| |
| getDigestSize | back to summary |
|---|---|
| public int getDigestSize() Implements org. return the size, in bytes, of the digest produced by this message digest.
| |
| processBlock | back to summary |
|---|---|
| protected void processBlock(byte[] m) | |
| processCheckSum | back to summary |
|---|---|
| protected void processCheckSum(byte[] m) | |
| reset | back to summary |
|---|---|
| public void reset() Implements org. reset the digest back to it's initial state. | |
| reset | back to summary |
|---|---|
| public void reset(Memoable other) Implements org. Doc from org. Restore a copied object state into this object. Implementations of this method should try to avoid or minimise memory allocation to perform the reset. | |
| update | back to summary |
|---|---|
| public void update(byte in) Implements org. update the message digest with a single byte.
| |
| update | back to summary |
|---|---|
| public void update(byte[] in, int inOff, int len) Implements org. update the message digest with a block of bytes.
| |