public class SHA1 extends Digest
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALGORITHM |
| Constructor and Description |
|---|
SHA1(byte[] b) |
| Modifier and Type | Method and Description |
|---|---|
static SHA1 |
digest(byte[] data) |
static SHA1 |
digest(java.io.File f) |
static SHA1 |
digest(java.io.InputStream f) |
java.lang.String |
getAlgorithm() |
static Digester<SHA1> |
getDigester(java.io.OutputStream... out) |
public static final java.lang.String ALGORITHM
public static Digester<SHA1> getDigester(java.io.OutputStream... out) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmExceptionpublic java.lang.String getAlgorithm()
getAlgorithm in class Digestpublic static SHA1 digest(byte[] data) throws java.lang.Exception
java.lang.Exceptionpublic static SHA1 digest(java.io.File f) throws java.security.NoSuchAlgorithmException, java.lang.Exception
java.security.NoSuchAlgorithmExceptionjava.lang.Exceptionpublic static SHA1 digest(java.io.InputStream f) throws java.security.NoSuchAlgorithmException, java.lang.Exception
java.security.NoSuchAlgorithmExceptionjava.lang.ExceptionCopyright (c) aQute SARL (2000, 2017) and others. All Rights Reserved.