public class CRCGenerator extends Object
| Constructor and Description |
|---|
CRCGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getChecksum(InputStream in,
String algo)
Generates checksum for the InputStream.
|
public static String getChecksum(InputStream in, String algo) throws NoSuchAlgorithmException, IOException
in - stream to generate CheckSumalgo - algorithm name according to the
<a href= "http://java.sun.com/j2se/1.4.2/docs/guide/security/CryptoSpec.html#AppA">
Java Cryptography Architecture API Specification & Reference
</a>
NoSuchAlgorithmExceptionIOExceptionCopyright © 2019 eXo Platform SAS. All Rights Reserved.