public final class ChecksumQuietlyExtensions extends Object
ChecksumQuietlyExtensions is a utility class for computing checksum from files
and byte arrays in a quietly manner as the name let presume.| Constructor and Description |
|---|
ChecksumQuietlyExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getChecksumQuietly(byte[] bytes,
de.alpharogroup.crypto.algorithm.Algorithm algorithm)
Gets the checksum quietly from the given byte array with an instance of.
|
static String |
getChecksumQuietly(byte[] bytes,
String algorithm)
Gets the checksum quietly from the given byte array with an instance of.
|
static String |
getChecksumQuietly(Byte[] bytes,
String algorithm)
Gets the checksum quietly from the given byte array with an instance of.
|
static String |
getChecksumQuietly(File file,
de.alpharogroup.crypto.algorithm.Algorithm algorithm)
Gets the checksum quietly from the given file with an instance of the given algorithm.
|
public static String getChecksumQuietly(byte[] bytes, de.alpharogroup.crypto.algorithm.Algorithm algorithm)
bytes - the byte array.algorithm - the algorithm to get the checksum. This could be for instance "MD4", "MD5",
"SHA-1", "SHA-256", "SHA-384" or "SHA-512".public static String getChecksumQuietly(byte[] bytes, String algorithm)
bytes - the byte array.algorithm - the algorithm to get the checksum. This could be for instance "MD4", "MD5",
"SHA-1", "SHA-256", "SHA-384" or "SHA-512".public static String getChecksumQuietly(Byte[] bytes, String algorithm)
bytes - the Byte object array.algorithm - the algorithm to get the checksum. This could be for instance "MD4", "MD5",
"SHA-1", "SHA-256", "SHA-384" or "SHA-512".public static String getChecksumQuietly(File file, de.alpharogroup.crypto.algorithm.Algorithm algorithm)
file - the file.algorithm - the algorithm to get the checksum. This could be for instance "MD4", "MD5",
"SHA-1", "SHA-256", "SHA-384" or "SHA-512".MessageDigest object.Copyright © 2015–2018 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.