Package com.trilead.ssh2.crypto.digest
Class MD5
java.lang.Object
com.trilead.ssh2.crypto.digest.MD5
- All Implemented Interfaces:
Digest
MD5. Based on the example code in RFC 1321. Optimized (...a little).
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MD5
public MD5()
-
-
Method Details
-
reset
public final void reset() -
update
public final void update(byte b) -
update
public final void update(byte[] buff, int pos, int len) -
update
public final void update(byte[] b) -
digest
public final void digest(byte[] dst, int pos) -
digest
public final void digest(byte[] dst) -
getDigestLength
public final int getDigestLength()- Specified by:
getDigestLength
in interfaceDigest
-