Class DBStringEncryptor

    • Field Detail

      • encryptor

        protected org.jasypt.encryption.pbe.PooledPBEStringEncryptor encryptor
      • oldEncryptor

        protected org.jasypt.encryption.pbe.PooledPBEStringEncryptor oldEncryptor
      • isActive

        protected final boolean isActive
    • Method Detail

      • encrypt

        public String encrypt​(String value)
                       throws org.jasypt.exceptions.EncryptionOperationNotPossibleException,
                              org.jasypt.exceptions.EncryptionInitializationException
        Specified by:
        encrypt in interface IDBStringEncryptor
        Throws:
        org.jasypt.exceptions.EncryptionOperationNotPossibleException
        org.jasypt.exceptions.EncryptionInitializationException
      • decrypt

        public String decrypt​(String value)
                       throws org.jasypt.exceptions.EncryptionOperationNotPossibleException,
                              org.jasypt.exceptions.EncryptionInitializationException
        Specified by:
        decrypt in interface IDBStringEncryptor
        Throws:
        org.jasypt.exceptions.EncryptionOperationNotPossibleException
        org.jasypt.exceptions.EncryptionInitializationException