Package com.trilead.ssh2.crypto.digest
Class MD5
java.lang.Object
com.trilead.ssh2.crypto.digest.MD5
- All Implemented Interfaces:
Digest
@Deprecated public final class MD5 extends Object implements Digest
Deprecated.
MD5. Based on the example code in RFC 1321. Optimized (...a little).
- Version:
- $Id: MD5.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
Constructor Summary
Constructors Constructor Description MD5()Deprecated. -
Method Summary
Modifier and Type Method Description voiddigest(byte[] dst)Deprecated.voiddigest(byte[] dst, int pos)Deprecated.intgetDigestLength()Deprecated.voidreset()Deprecated.voidupdate(byte b)Deprecated.voidupdate(byte[] b)Deprecated.voidupdate(byte[] buff, int pos, int len)Deprecated.
-
Constructor Details
-
MD5
public MD5()Deprecated.
-
-
Method Details
-
reset
public final void reset()Deprecated. -
update
public final void update(byte b)Deprecated. -
update
public final void update(byte[] buff, int pos, int len)Deprecated. -
update
public final void update(byte[] b)Deprecated. -
digest
public final void digest(byte[] dst, int pos)Deprecated. -
digest
public final void digest(byte[] dst)Deprecated. -
getDigestLength
public final int getDigestLength()Deprecated.- Specified by:
getDigestLengthin interfaceDigest
-