Package org.passay.support
Interface Salt
- All Known Implementing Classes:
PrefixSalt,SuffixSalt
public interface Salt
Combines salt (additional external data) with a password
before applying a digest algorithm to them.
-
Method Summary
Modifier and TypeMethodDescriptionapplyTo(CharBuffer password) Applies the salt to the password, returning the combined string to be digested.
-
Method Details
-
applyTo
Applies the salt to the password, returning the combined string to be digested.- Parameters:
password- the cleartext password to apply the salt to- Returns:
- the salted password
-