Class SimpleTextEncryptor

  • All Implemented Interfaces:
    org.jasypt.util.text.TextEncryptor

    public class SimpleTextEncryptor
    extends Object
    implements org.jasypt.util.text.TextEncryptor
    • Constructor Detail

      • SimpleTextEncryptor

        public SimpleTextEncryptor​(String passwordChars)
    • Method Detail

      • decrypt

        public String decrypt​(String encryptedMessage)
        Specified by:
        decrypt in interface org.jasypt.util.text.TextEncryptor
      • encrypt

        public String encrypt​(String message)
        Specified by:
        encrypt in interface org.jasypt.util.text.TextEncryptor
      • setPassword

        public void setPassword​(String password)
      • setPasswordCharArray

        public void setPasswordCharArray​(char[] password)
        Sets a password, as a char[]
        Parameters:
        password - the password to be set.
        Since:
        1.8