public class

MD5Digest

extends GeneralDigest
java.lang.Object
   ↳ org.bouncycastle.crypto.digests.GeneralDigest
     ↳ org.bouncycastle.crypto.digests.MD5Digest

Class Overview

implementation of MD5 as outlined in "Handbook of Applied Cryptography", pages 346 - 347.

Summary

Public Constructors
MD5Digest()
Standard constructor
MD5Digest(MD5Digest t)
Copy constructor.
Public Methods
int doFinal(byte[] out, int outOff)
String getAlgorithmName()
int getDigestSize()
void reset()
reset the chaining variables to the IV values.
Protected Methods
void processBlock()
void processLength(long bitLength)
void processWord(byte[] in, int inOff)
[Expand]
Inherited Methods
From class org.bouncycastle.crypto.digests.GeneralDigest
From class java.lang.Object
From interface org.bouncycastle.crypto.Digest
From interface org.bouncycastle.crypto.ExtendedDigest

Public Constructors

public MD5Digest ()

Standard constructor

public MD5Digest (MD5Digest t)

Copy constructor. This will copy the state of the provided message digest.

Public Methods

public int doFinal (byte[] out, int outOff)

public String getAlgorithmName ()

public int getDigestSize ()

public void reset ()

reset the chaining variables to the IV values.

Protected Methods

protected void processBlock ()

protected void processLength (long bitLength)

protected void processWord (byte[] in, int inOff)