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