All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Crypto.ShaHash
java.lang.Object
|
+----Acme.Crypto.CryptoUtils
|
+----Acme.Crypto.Hash
|
+----Acme.Crypto.ShaHash
- public class ShaHash
- extends Hash
The Secure Hash Algorithm.
This is surprisingly fast, processing 28000 bytes per second on a
SPARC Ultra.
Fetch the software.
Fetch the entire Acme package.
-
ShaHash()
- Constructor.
-
add(byte)
- Add a byte to the hash.
-
add(byte[], int, int)
- Add some bytes to the hash.
-
main(String[])
-
-
prepare()
- Prepare the hash bytes for use.
-
reset()
- Initialize (reset) the hash.
ShaHash
public ShaHash()
- 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 bytes for use.
- Overrides:
- prepare in class Hash
main
public static void main(String args[])
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs