Package com.trilead.ssh2.crypto.digest
Class SHA1
- java.lang.Object
-
- com.trilead.ssh2.crypto.digest.SHA1
-
- All Implemented Interfaces:
Digest
@Deprecated public final class SHA1 extends Object implements Digest
Deprecated.Use java.security.MessageDigest.getInstance("SHA1");SHA-1 implementation based on FIPS PUB 180-1. Highly optimized.(http://www.itl.nist.gov/fipspubs/fip180-1.htm)
- Version:
- $Id: SHA1.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
-
Constructor Summary
Constructors Constructor Description SHA1()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voiddigest(byte[] out)Deprecated.voiddigest(byte[] out, int off)Deprecated.intgetDigestLength()Deprecated.voidreset()Deprecated.voidupdate(byte b)Deprecated.voidupdate(byte[] b)Deprecated.voidupdate(byte[] b, int off, int len)Deprecated.
-
-
-
Method Detail
-
getDigestLength
public final int getDigestLength()
Deprecated.- Specified by:
getDigestLengthin interfaceDigest
-
update
public final void update(byte[] b, int off, int len)Deprecated.
-
-