Save This Page
Home » crypto-143 » org.bouncycastle.crypto » [javadoc | source]
org.bouncycastle.crypto
public interface: Digest [javadoc | source]

All Known Implementing Classes:
    SHA224Digest, ShortenedDigest, NullDigest, RIPEMD256Digest, TigerDigest, MD2Digest, SHA384Digest, LongDigest, MD5Digest, MD4Digest, GOST3411Digest, CombinedHash, RIPEMD160Digest, ExtendedDigest, SHA1Digest, SHA256Digest, WhirlpoolDigest, RIPEMD320Digest, NullDigest, GeneralDigest, SHA512Digest, RIPEMD128Digest

interface that a message digest conforms to.
Method from org.bouncycastle.crypto.Digest Summary:
doFinal,   getAlgorithmName,   getDigestSize,   reset,   update,   update
Method from org.bouncycastle.crypto.Digest Detail:
 public int doFinal(byte[] out,
    int outOff)
    close the digest, producing the final digest value. The doFinal call leaves the digest reset.
 public String getAlgorithmName()
    return the algorithm name
 public int getDigestSize()
    return the size, in bytes, of the digest produced by this message digest.
 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.