gnu.crypto.hash

Class MD5

public class MD5 extends BaseHash

The MD5 message-digest algorithm takes as input a message of arbitrary length and produces as output a 128-bit "fingerprint" or "message digest" of the input. It is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having a given prespecified target message digest.

References:

  1. The MD5 Message- Digest Algorithm.
    R. Rivest.

Version: $Revision: 1.7 $

Constructor Summary
MD5()
Trivial 0-arguments constructor.
Method Summary
Objectclone()
protected byte[]getResult()
protected byte[]padBuffer()
protected voidresetContext()
booleanselfTest()
protected voidtransform(byte[] in, int i)

Constructor Detail

MD5

public MD5()
Trivial 0-arguments constructor.

Method Detail

clone

public Object clone()

getResult

protected byte[] getResult()

padBuffer

protected byte[] padBuffer()

resetContext

protected void resetContext()

selfTest

public boolean selfTest()

transform

protected void transform(byte[] in, int i)
Copyright © 2001, 2002, 2003 Free Software Foundation, Inc. All Rights Reserved.