|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--BlowfishJ.SHA1
SHA-1 message digest implementation
Field Summary | |
static int |
DIGEST_SIZE
size of a SHA-1 digest in octets |
Constructor Summary | |
SHA1()
constructor |
Method Summary | |
void |
clear()
clears all data, use reset() to start again |
void |
finalize()
finalizes the digest |
byte[] |
getDigest()
gets the digest |
void |
reset()
initializes or resets the hasher for a new session respectively |
boolean |
selfTest()
runs a selftest |
java.lang.String |
toString()
makes a binhex string representation of the current digest |
void |
update(byte bB)
adds a single byte to the digest |
void |
update(byte[] data)
adds a byte array to the digest |
void |
update(java.lang.String sData)
adds an ASCII string to the digest |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DIGEST_SIZE
Constructor Detail |
public SHA1()
Method Detail |
public void clear()
public void reset()
public void update(byte bB)
public void update(byte[] data)
public void update(java.lang.String sData)
public void finalize()
finalize
in class java.lang.Object
public byte[] getDigest()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean selfTest()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |