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
NoSuchAlgorithmExceptionpublic String getAlgorithm()
getAlgorithm in class Digestpublic static SHA256 digest(File f) throws NoSuchAlgorithmException, Exception
NoSuchAlgorithmExceptionExceptionpublic static SHA256 digest(InputStream f) throws NoSuchAlgorithmException, Exception
NoSuchAlgorithmExceptionExceptionCopyright © 2019 aQute SARL. All rights reserved.