Interface PasswordEncryptor
@ProviderType
public interface PasswordEncryptor
- Author:
- Tomas Polesovsky
-
Field Details
-
TYPE_BCRYPT
- See Also:
-
TYPE_DEFAULT
- See Also:
-
TYPE_MD2
- See Also:
-
TYPE_MD5
- See Also:
-
TYPE_NONE
- See Also:
-
TYPE_PBKDF2
- See Also:
-
TYPE_SHA
- See Also:
-
TYPE_SHA_256
- See Also:
-
TYPE_SHA_384
- See Also:
-
TYPE_SSHA
- See Also:
-
TYPE_UFC_CRYPT
- See Also:
-
-
Method Details
-
encrypt
default String encrypt(String algorithm, String plainTextPassword, String encryptedPassword) throws PwdEncryptorException - Throws:
PwdEncryptorException
-
encrypt
String encrypt(String algorithm, String plainTextPassword, String encryptedPassword, boolean upgradeHashSecurity) throws PwdEncryptorException - Throws:
PwdEncryptorException
-