public class SHA1 extends Digest
Constructor and Description |
---|
SHA1(byte[] b) |
Modifier and Type | Method and Description |
---|---|
static SHA1 |
digest(byte[] data) |
static SHA1 |
digest(File f) |
static SHA1 |
digest(InputStream f) |
String |
getAlgorithm() |
static Digester<SHA1> |
getDigester(OutputStream... out) |
public static final String ALGORITHM
public static Digester<SHA1> getDigester(OutputStream... out) throws NoSuchAlgorithmException
NoSuchAlgorithmException
public String getAlgorithm()
getAlgorithm
in class Digest
public static SHA1 digest(File f) throws NoSuchAlgorithmException, Exception
NoSuchAlgorithmException
Exception
public static SHA1 digest(InputStream f) throws NoSuchAlgorithmException, Exception
NoSuchAlgorithmException
Exception
Copyright © 2021 aQute SARL. All rights reserved.