is.logi.crypto.hash
Class MD5State.SubState
java.lang.Object
|
+--is.logi.crypto.hash.MD5State.SubState
- public static class MD5State.SubState
- extends java.lang.Object
Field Summary |
byte[] |
buffer
Holds the bytes that have been added to this object, but
not calculated into the hash in state . |
long |
count
Holds the number of bits added to this object. |
int[] |
hash
A hash for as much of the data added to this object as
possible, given that they must be added in 64 byte chunks. |
Method Summary |
static int |
FF(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
|
static int |
GG(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
|
static int |
HH(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
|
static int |
II(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
|
void |
reset()
|
static int |
rotateLeft(int x,
int n)
|
void |
transform(byte[] data,
int offset)
|
static int |
uadd(int a,
int b)
|
static int |
uadd(int a,
int b,
int c)
|
static int |
uadd(int a,
int b,
int c,
int d)
|
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
hash
public int[] hash
- A hash for as much of the data added to this object as
possible, given that they must be added in 64 byte chunks.
count
public long count
- Holds the number of bits added to this object.
buffer
public byte[] buffer
- Holds the bytes that have been added to this object, but
not calculated into the hash in
state
.
MD5State.SubState
public MD5State.SubState()
MD5State.SubState
public MD5State.SubState(MD5State.SubState s)
reset
public void reset()
rotateLeft
public static int rotateLeft(int x,
int n)
uadd
public static int uadd(int a,
int b)
uadd
public static int uadd(int a,
int b,
int c)
uadd
public static int uadd(int a,
int b,
int c,
int d)
FF
public static int FF(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
GG
public static int GG(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
HH
public static int HH(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
II
public static int II(int a,
int b,
int c,
int d,
int x,
int s,
int ac)
transform
public void transform(byte[] data,
int offset)
Copyright 1997-1999 Logi Ragnarsson