public interface AuthFileHashInterface
Modifier and Type | Method and Description |
---|---|
java.lang.String |
hash(java.lang.String plain)
Generate the hash value for a specified plaint password
|
boolean |
match(java.lang.String plain,
java.lang.String hashed)
Check if the plain password matches the hashed password.
|
boolean match(java.lang.String plain, java.lang.String hashed) throws java.lang.Exception
plain
- the plain passwordhashed
- the hashed passwordjava.lang.Exception
java.lang.String hash(java.lang.String plain)
plain
- the plain passwordCopyright © 2020 Regents of the University of California. All Rights Reserved.