@API(status = STABLE)
public class HasherHashing utilities
Constructors
public Hasher()Methods
bytesToHex(byte[])
staticSource
public static String bytesToHex(byte[] bytes)| Parameters | ||
|---|---|---|
bytes | byte[] | |
| Returns | ||
String | ||
sha(Path, int)
staticSource
public static String sha(Path path, int hashbits) throws Exceptionsha1(Path)
staticSource
public static String sha1(Path path) throws IOException| Parameters | ||
|---|---|---|
path | Path | |
| Returns | ||
String | ||
| Throws | ||
IOException | ||