Package com.trilead.ssh2.crypto.digest
Class MD5
java.lang.Object
com.trilead.ssh2.crypto.digest.MD5
- All Implemented Interfaces:
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 $
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final byte[]
Deprecated.private long
Deprecated.private static final byte[]
Deprecated.private int
Deprecated.private int
Deprecated.private int
Deprecated.private int
Deprecated.private final int[]
Deprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal void
digest
(byte[] dst) Deprecated.final void
digest
(byte[] dst, int pos) Deprecated.private static final void
encode
(byte[] dst, int dstoff, int word) Deprecated.private static final int
FF
(int a, int b, int c, int d, int x, int s, int ac) Deprecated.final int
Deprecated.private static final int
GG
(int a, int b, int c, int d, int x, int s, int ac) Deprecated.private static final int
HH
(int a, int b, int c, int d, int x, int s, int ac) Deprecated.private static final int
II
(int a, int b, int c, int d, int x, int s, int ac) Deprecated.final void
reset()
Deprecated.private final void
transform
(byte[] src, int pos) Deprecated.final void
update
(byte b) Deprecated.final void
update
(byte[] b) Deprecated.final void
update
(byte[] buff, int pos, int len) Deprecated.
-
Field Details
-
state0
private int state0Deprecated. -
state1
private int state1Deprecated. -
state2
private int state2Deprecated. -
state3
private int state3Deprecated. -
count
private long countDeprecated. -
block
private final byte[] blockDeprecated. -
x
private final int[] xDeprecated. -
padding
private static final byte[] paddingDeprecated.
-
-
Constructor Details
-
MD5
public MD5()Deprecated.
-
-
Method Details
-
FF
private static final int FF(int a, int b, int c, int d, int x, int s, int ac) Deprecated. -
GG
private static final int GG(int a, int b, int c, int d, int x, int s, int ac) Deprecated. -
HH
private static final int HH(int a, int b, int c, int d, int x, int s, int ac) Deprecated. -
II
private static final int II(int a, int b, int c, int d, int x, int s, int ac) Deprecated. -
encode
private static final void encode(byte[] dst, int dstoff, int word) Deprecated. -
transform
private final void transform(byte[] src, int pos) Deprecated. -
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:
getDigestLength
in interfaceDigest
-