Class EncryptPassword

java.lang.Object
br.com.pethub.utils.EncryptPassword

public class EncryptPassword extends Object
This class is responsible for encrypting passwords. It uses the BCrypt fuction for password encryption.
  • Constructor Details

    • EncryptPassword

      public EncryptPassword()
  • Method Details

    • encryptPassword

      public String encryptPassword(String password)
      This method is used to encrypt a password.
      Parameters:
      password - The password to be encrypted.
      Returns:
      The encrypted password.