Class SimplePBEByteEncryptor

  • All Implemented Interfaces:
    org.jasypt.encryption.ByteEncryptor, org.jasypt.encryption.pbe.PasswordBased, org.jasypt.encryption.pbe.PBEByteEncryptor

    public class SimplePBEByteEncryptor
    extends Object
    implements org.jasypt.encryption.pbe.PBEByteEncryptor
    • Constructor Detail

      • SimplePBEByteEncryptor

        public SimplePBEByteEncryptor()
    • Method Detail

      • encrypt

        public byte[] encrypt​(byte[] message)
        Specified by:
        encrypt in interface org.jasypt.encryption.ByteEncryptor
      • decrypt

        public byte[] decrypt​(byte[] encryptedMessage)
        Specified by:
        decrypt in interface org.jasypt.encryption.ByteEncryptor
      • setPassword

        public void setPassword​(String password)
        Specified by:
        setPassword in interface org.jasypt.encryption.pbe.PasswordBased
      • setSaltGenerator

        public void setSaltGenerator​(org.jasypt.salt.SaltGenerator saltGenerator)
      • setIterations

        public void setIterations​(int iterations)
      • setAlgorithm

        public void setAlgorithm​(String algorithm)