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.


Constructor Index

 o Crc32Hash()
Constructor.

Method Index

 o add(byte)
Add a byte to the hash.
 o add(byte[], int, int)
Add some bytes to the hash.
 o prepare()
Prepare the hash for retrieval.
 o reset()
Initialize (reset) the hash.

Constructors

 o Crc32Hash
 public Crc32Hash()
Constructor.

Methods

 o reset
 public void reset()
Initialize (reset) the hash.

Overrides:
reset in class Hash
 o add
 public void add(byte b)
Add a byte to the hash.

Overrides:
add in class Hash
 o add
 public void add(byte data[],
                 int off,
                 int len)
Add some bytes to the hash.

Overrides:
add in class Hash
 o 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