java.lang.Object
com.aoapps.dao.base.Encryption
Provides encryption routines.
-
Method Details
-
hash
Deprecated, for removal: This API element is subject to removal in a future version.Use salted algorithm, update database of stored passwords as passwords are validatedPerforms a one-way hash of the plaintext value using SHA-1.- Throws:
WrappedException
- if any problem occurs.- See Also:
-
generateKey
Generates a random key.
-