aQute.libg.cryptography
Class SHA256
java.lang.Object
aQute.libg.cryptography.Digest
aQute.libg.cryptography.SHA256
public class SHA256
- extends Digest
|
Constructor Summary |
SHA256(byte[] b)
|
ALGORITHM
public static final String ALGORITHM
- See Also:
- Constant Field Values
SHA256
public SHA256(byte[] b)
getDigester
public static Digester<SHA256> getDigester(OutputStream... out)
throws NoSuchAlgorithmException
- Throws:
NoSuchAlgorithmException
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm in class Digest
digest
public static SHA256 digest(byte[] data)
throws Exception
- Throws:
Exception
digest
public static SHA256 digest(File f)
throws NoSuchAlgorithmException,
Exception
- Throws:
NoSuchAlgorithmException
Exception
digest
public static SHA256 digest(InputStream f)
throws NoSuchAlgorithmException,
Exception
- Throws:
NoSuchAlgorithmException
Exception
Copyright © 2014 aQute SARL. All rights reserved.