Package com.trilead.ssh2.crypto.digest
Class SHA1
java.lang.Object
com.trilead.ssh2.crypto.digest.SHA1
- All Implemented Interfaces:
Digest
SHA-1 implementation based on FIPS PUB 180-1.
Highly optimized.
(http://www.itl.nist.gov/fipspubs/fip180-1.htm)
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SHA1
public SHA1()
-
-
Method Details
-
getDigestLength
public final int getDigestLength()- Specified by:
getDigestLength
in interfaceDigest
-
reset
public final void reset() -
update
public final void update(byte[] b) -
update
public final void update(byte[] b, int off, int len) -
update
public final void update(byte b) -
digest
public final void digest(byte[] out) -
digest
public final void digest(byte[] out, int off) -
main
-