net.sourceforge.jtds.util
Class MD4Digest
implementation of MD4 as RFC 1320 by R. Rivest, MIT Laboratory for
Computer Science and RSA Data Security, Inc.
NOTE: This algorithm is only included for backwards compatability
with legacy applications, it's not secure, don't use it for anything new!
$Id: MD4Digest.java,v 1.2 2004/06/27 17:00:55 bheineman Exp $private static int | DIGEST_LENGTH
|
private int | H1
|
private int | H2
|
private int | H3
|
private int | H4
|
private static int | S11
|
private static int | S12
|
private static int | S13
|
private static int | S14
|
private static int | S21
|
private static int | S22
|
private static int | S23
|
private static int | S24
|
private static int | S31
|
private static int | S32
|
private static int | S33
|
private static int | S34
|
private int[] | X
|
private int | xOff
|
private int | F(int u, int v, int w)
|
private int | G(int u, int v, int w)
|
private int | H(int u, int v, int w)
|
int | doFinal(byte[] out, int outOff)
|
String | getAlgorithmName()
|
int | getDigestSize()
|
protected void | processBlock()
|
protected void | processLength(long bitLength)
|
protected void | processWord(byte[] in, int inOff)
|
void | reset() - reset the chaining variables to the IV values.
|
private int | rotateLeft(int x, int n)
|
private void | unpackWord(int word, byte[] out, int outOff)
|
DIGEST_LENGTH
private static final int DIGEST_LENGTH
S11
private static final int S11
S12
private static final int S12
S13
private static final int S13
S14
private static final int S14
S21
private static final int S21
S22
private static final int S22
S23
private static final int S23
S24
private static final int S24
S31
private static final int S31
S32
private static final int S32
S33
private static final int S33
S34
private static final int S34
MD4Digest
public MD4Digest()
Standard constructor
MD4Digest
public MD4Digest(MD4Digest t)
Copy constructor. This will copy the state of the provided
message digest.
F
private int F(int u,
int v,
int w)
G
private int G(int u,
int v,
int w)
H
private int H(int u,
int v,
int w)
doFinal
public int doFinal(byte[] out,
int outOff)
getAlgorithmName
public String getAlgorithmName()
getDigestSize
public int getDigestSize()
reset
public void reset()
reset the chaining variables to the IV values.
- reset in interface GeneralDigest
rotateLeft
private int rotateLeft(int x,
int n)
unpackWord
private void unpackWord(int word,
byte[] out,
int outOff)
Generated on June 12 2008