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