public class HashUtils
extends java.lang.Object
| Constructor and Description |
|---|
HashUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getMD5HexHash(java.lang.String input)
Generate the MD5 has of the PIN code
|
static java.lang.String |
getSHA256HexHash(byte[] input)
Generate the SHA256 hash of input
|
@NonNull
public static java.lang.String getMD5HexHash(@Nullable
java.lang.String input)
throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException@NonNull
public static java.lang.String getSHA256HexHash(@Nullable
byte[] input)
throws java.security.NoSuchAlgorithmException
input - java.security.NoSuchAlgorithmException