Package net.datenwerke.rs.utils.crypto
Interface PasswordHasher
- All Known Implementing Classes:
DummyPasswordHasherImpl,PasswordHasherImpl
public interface PasswordHasher
-
Method Summary
Modifier and TypeMethodDescriptionhashPassword(String password) Returns a hashed passwordhashPassword(String password, String salt) booleanvalidatePassword(String hashedPassword, String cleartextPassword)
-
Method Details
-
hashPassword
Returns a hashed password- Parameters:
password-
-
hashPassword
-
validatePassword
-
getHmacPassphrase
String getHmacPassphrase()
-