All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Crypto.Crc32Hash
java.lang.Object
|
+----Acme.Crypto.CryptoUtils
|
+----Acme.Crypto.Hash
|
+----Acme.Crypto.Crc32Hash
- public class Crc32Hash
- extends Hash
The CRC32 hash function.
This is the hash function used in POSIX 1003.2.
Fetch the software.
Fetch the entire Acme package.
-
Crc32Hash()
- Constructor.
-
add(byte)
- Add a byte to the hash.
-
add(byte[], int, int)
- Add some bytes to the hash.
-
prepare()
- Prepare the hash for retrieval.
-
reset()
- Initialize (reset) the hash.
Crc32Hash
public Crc32Hash()
- Constructor.
reset
public void reset()
- Initialize (reset) the hash.
- Overrides:
- reset in class Hash
add
public void add(byte b)
- Add a byte to the hash.
- Overrides:
- add in class Hash
add
public void add(byte data[],
int off,
int len)
- Add some bytes to the hash.
- Overrides:
- add in class Hash
prepare
protected void prepare()
- Prepare the hash for retrieval.
- Overrides:
- prepare in class Hash
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs