Module crypt.api

Interface Passwordable


public interface Passwordable
Interface that can be implemented from classes that want to encrypt or decrypt with a password
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Resets the password
    void
    setPassword(char[] password)
    Sets the given password
    void
    setPassword(String password)
    Sets the given password
  • Method Details

    • setPassword

      void setPassword(String password)
      Sets the given password
      Parameters:
      password - the password to set
    • setPassword

      void setPassword(char[] password)
      Sets the given password
      Parameters:
      password - the password to set
    • resetPassword

      void resetPassword()
      Resets the password