public interface SaltedHashingAlgorithm
HashingAlgorithm| Modifier and Type | Method and Description |
|---|---|
byte[] |
hash(byte[] input,
byte[] salt)
Creates a hash from given input bytes and given salt bytes.
|
String |
hash(String input,
String salt)
Creates a hash from given input and given salt.
|
String hash(String input, String salt) throws HashingException
input - input to be hashedsalt - salt to be added to inputHashingException - possible exception during hashingbyte[] hash(byte[] input,
byte[] salt)
throws HashingException
input - input to be hashedsalt - salt to be added to inputHashingException - possible exception during hashing processCopyright © 2019. All rights reserved.