public class HashGenerator extends Object
| Constructor and Description |
|---|
HashGenerator(Charset charset)
Constructs a hash generator using a specified charset.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getShaHash(String input)
Generates a hexadecimal string representing the hash value of a specified
input string.
|
void |
reset()
Resets the fields of the singleton instance to default values.
|
public HashGenerator(Charset charset)
charset - the charset used to decode input stringsCopyright © 2017–2019. All rights reserved.