|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.less4j.SHA1
public final class SHA1
This class implements the SHA-1 message digest algorithm (copied from Jython 2.3 without the dependencies and synchronization).
References:
Copyright © 1995-1997
Systemics Ltd on behalf of the
Cryptix Development
Team.
All rights reserved.
Revision: 1.7
| Constructor Summary | |
|---|---|
SHA1()
Constructs a SHA-1 message digest. |
|
| Method Summary | |
|---|---|
SHA1 |
copy()
Add an array of bytes to the digest. |
java.lang.String |
digest()
|
java.lang.String |
hexdigest()
Print out the digest in a form that can be easily compared to the test vectors. |
java.lang.String |
toString()
|
void |
update(byte[] input)
Add an array of bytes to the digest. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SHA1()
| Method Detail |
|---|
public SHA1 copy()
public java.lang.String digest()
public java.lang.String hexdigest()
public java.lang.String toString()
toString in class java.lang.Objectpublic void update(byte[] input)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||