Package rs.baselib.crypto
Interface ExtendedPasswordHasher
- All Superinterfaces:
PasswordHasher
- All Known Implementing Classes:
BlowfishPasswordHasher
,DummyPasswordHasher
,Md5PasswordHasher
,PhpPasswordHasher
,Sha256PasswordHasher
,Sha512PasswordHasher
Extends
PasswordHasher
by a method to detect responsibility.- Since:
- 1.2.9
- Author:
- ralph
-
Method Summary
Methods inherited from interface rs.baselib.crypto.PasswordHasher
getPasswordHash, testPassword
-
Method Details
-
isHash
Returns whether the given hash string was produced using the implemented hashing algorithm.- Parameters:
passwordHash
- the hash to be checked- Returns:
true
when this hash was produced by this password hasher (or using the same algorithm).
-