Package br.com.pethub.utils
Class EncryptPassword
java.lang.Object
br.com.pethub.utils.EncryptPassword
This class is responsible for encrypting passwords.
It uses the BCrypt fuction for password encryption.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionencryptPassword
(String password) This method is used to encrypt a password.
-
Constructor Details
-
EncryptPassword
public EncryptPassword()
-
-
Method Details
-
encryptPassword
This method is used to encrypt a password.- Parameters:
password
- The password to be encrypted.- Returns:
- The encrypted password.
-