Class au.net.aba.crypto.provider.SHA0
All Packages Class Hierarchy This Package Previous Next Index
Class au.net.aba.crypto.provider.SHA0
java.lang.Object
|
+----au.net.aba.security.MessageDigest
|
+----au.net.aba.crypto.provider.SHA0
- public class SHA0
- extends MessageDigest
A class that implements the NIST Secure Hash Algorithm .
-
DIGEST_LEN
-
-
ident
-
-
SHA0()
-
-
engineDigest()
- compute the digest and reset the engine.
-
engineReset()
- reset the digest back to its original state.
-
engineUpdate(byte)
- update the digest with a single byte
-
engineUpdate(byte[], int, int)
- add a block of data from the array bytes, to the message
digest.
ident
public final static String ident
DIGEST_LEN
public final static int DIGEST_LEN
SHA0
public SHA0()
engineReset
protected void engineReset()
- reset the digest back to its original state.
- Overrides:
- engineReset in class MessageDigest
engineUpdate
protected synchronized void engineUpdate(byte b)
- update the digest with a single byte
- Parameters:
- b - the byte to be added.
- Overrides:
- engineUpdate in class MessageDigest
engineUpdate
protected synchronized void engineUpdate(byte bytes[],
int offset,
int length)
- add a block of data from the array bytes, to the message
digest. The block starts offset bytes into the array and is
of size length.
- Parameters:
- bytes - the byte array.
- offset - offset into the array to start from.
- length - size of the block.
- Overrides:
- engineUpdate in class MessageDigest
engineDigest
protected synchronized byte[] engineDigest()
- compute the digest and reset the engine.
- Overrides:
- engineDigest in class MessageDigest
All Packages Class Hierarchy This Package Previous Next Index