Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.mindbright.security.digest
Class MD2

    java.lang.Object
      com.mindbright.jca.security.MessageDigestSpi
          com.mindbright.jca.security.MessageDigest
              com.mindbright.security.digest.MD2

All Implemented Interfaces:
  java.lang.Cloneable

public final class MD2
extends MessageDigest
implements java.lang.Cloneable

Field Summary
`static int` | `DIGEST_LENGTH`

Fields inherited from class com.mindbright.jca.security.MessageDigest
`algorithm, provider`

Constructor Summary
`MD2()`

Method Summary
`java.lang.Object` | `clone()`
`protected byte[]` | `engineDigest()`
`protected int` | `engineDigest(byte[] dest, int off, int len)`
`protected int` | `engineGetDigestLength()`
`protected void` | `engineReset()`
`protected void` | `engineUpdate(byte input)`
`protected void` | `engineUpdate(byte[] data, int offset, int length)`

Methods inherited from class com.mindbright.jca.security.MessageDigest
`digest, digest, digest, getAlgorithm, getDigestLength, getInstance, getInstance, getProvider, isEqual, reset, toString, update, update, update`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### DIGEST_LENGTH

    public static final int DIGEST_LENGTH

See Also:
  Constant Field Values

Constructor Detail

### MD2

    public MD2()

Method Detail

### clone

    public java.lang.Object clone()

  Overrides:
    `clone` in class `MessageDigest`

### engineReset

    protected void engineReset()

  Specified by:
    `engineReset` in class `MessageDigestSpi`

### engineUpdate

    protected void engineUpdate(byte input)

  Specified by:
    `engineUpdate` in class `MessageDigestSpi`

### engineUpdate

    protected void engineUpdate(byte[] data,
                                int offset,
                                int length)

  Specified by:
    `engineUpdate` in class `MessageDigestSpi`

### engineDigest

    protected byte[] engineDigest()

  Specified by:
    `engineDigest` in class `MessageDigestSpi`

### engineDigest

    protected int engineDigest(byte[] dest,
                               int off,
                               int len)
                        throws DigestException

  Overrides:
    `engineDigest` in class `MessageDigestSpi`
  Throws:
    `DigestException`

### engineGetDigestLength

    protected int engineGetDigestLength()

  Overrides:
    `engineGetDigestLength` in class `MessageDigestSpi`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD