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 methodgenerateHash
provides means to compute the hash value for an input password.- Parameters:
password
- the password- Returns:
- the generated hash
-
verify
The methodverify
provides means to check that the has fits to the password.- Parameters:
passwd
- the passwordhash
- the has value- Returns:
true
iff the validation succeeds
-