Class DBBinaryEncryptor

    • Field Detail

      • encryptor

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

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

        protected final boolean isActive
    • Method Detail

      • encrypt

        public byte[] encrypt​(byte[] value)
                       throws org.jasypt.exceptions.EncryptionOperationNotPossibleException,
                              org.jasypt.exceptions.EncryptionInitializationException
        Specified by:
        encrypt in interface IDBBinaryEncryptor
        Throws:
        org.jasypt.exceptions.EncryptionOperationNotPossibleException
        org.jasypt.exceptions.EncryptionInitializationException
      • decrypt

        public byte[] decrypt​(byte[] value)
                       throws org.jasypt.exceptions.EncryptionOperationNotPossibleException,
                              org.jasypt.exceptions.EncryptionInitializationException
        Specified by:
        decrypt in interface IDBBinaryEncryptor
        Throws:
        org.jasypt.exceptions.EncryptionOperationNotPossibleException
        org.jasypt.exceptions.EncryptionInitializationException