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 .

Variable Index

 o DIGEST_LEN
 o ident

Constructor Index

 o SHA0()

Method Index

 o engineDigest()
compute the digest and reset the engine.
 o engineReset()
reset the digest back to its original state.
 o engineUpdate(byte)
update the digest with a single byte
 o engineUpdate(byte[], int, int)
add a block of data from the array bytes, to the message digest.

Variables

 o ident
  public final static String ident
 o DIGEST_LEN
  public final static int DIGEST_LEN

Constructors

 o SHA0
  public SHA0()

Methods

 o engineReset
  protected void engineReset()
reset the digest back to its original state.
Overrides:
engineReset in class MessageDigest
 o 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
 o 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
 o 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