Package de.jjohannes.maven.gmm.checksums
Class HashUtil
java.lang.Object
de.jjohannes.maven.gmm.checksums.HashUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HashValue
createHash
(File file, String algorithm) static HashValue
createHash
(InputStream instr, String algorithm) private static MessageDigest
createMessageDigest
(String algorithm) static HashValue
static HashValue
static HashValue
-
Constructor Details
-
HashUtil
public HashUtil()
-
-
Method Details
-
createHash
-
createHash
-
createMessageDigest
-
sha1
-
sha256
-
sha512
-