public interface SaltedDigest
Modifier and Type | Method and Description |
---|---|
String |
getDigest(String secret,
String salt)
Returns a salted hash of the submitted secret.
|
String |
getSalt()
Generates a random salt.
|
String getDigest(String secret, String salt)
secret
- The cleartext secret.salt
- The salt which should have been generated by the getSalt()
method of the
respective implementation.String getSalt()
getDigest(String, String)
method of
the respective implementation.Copyright © 2011–2023 aiticon GmbH. All rights reserved.