Package org.ctan.site.services.util
Class SecurityUtils
java.lang.Object
org.ctan.site.services.util.SecurityUtils
The class
SecurityUtils contains utility methods in the area of
security.-
Method Summary
-
Method Details
-
generateHash
The methodgenerateHashprovides means to compute the hash value for an input password.- Parameters:
password- the password- Returns:
- the generated hash
-
verify
The methodverifyprovides means to check that the hash fits to the password.- Parameters:
passwd- the passwordhash- the hash value- Returns:
trueiff the validation succeeds
-