Package com.openmeet.shared.utils
Class PasswordEncrypter
java.lang.Object
com.openmeet.shared.utils.PasswordEncrypter
Class for password encryption.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PasswordEncrypter
public PasswordEncrypter()
-
-
Method Details
-
sha1
SHA1 Algorithm implementation.- Parameters:
password- The password to encrypt.- Returns:
- the encrypted password.
- Throws:
NoSuchAlgorithmException- if the algorithm is not found.
-