public class HashUtil extends Object
| Constructor and Description |
|---|
HashUtil() |
| Modifier and Type | Method and Description |
|---|---|
static HashValue |
createHash(File file,
String algorithm) |
static HashValue |
createHash(InputStream instr,
String algorithm) |
static HashValue |
sha1(File file) |
static HashValue |
sha256(File file) |
static HashValue |
sha512(File file) |
public static HashValue createHash(InputStream instr, String algorithm)
Copyright © 2020. All rights reserved.