Class SimplePBEByteEncryptor
- java.lang.Object
-
- com.ulisesbocchio.jasyptspringboot.encryptor.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 Summary
Constructors Constructor Description SimplePBEByteEncryptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]decrypt(byte[] encryptedMessage)byte[]encrypt(byte[] message)voidsetAlgorithm(String algorithm)voidsetIterations(int iterations)voidsetPassword(String password)voidsetSaltGenerator(org.jasypt.salt.SaltGenerator saltGenerator)
-
-
-
Method Detail
-
encrypt
public byte[] encrypt(byte[] message)
- Specified by:
encryptin interfaceorg.jasypt.encryption.ByteEncryptor
-
decrypt
public byte[] decrypt(byte[] encryptedMessage)
- Specified by:
decryptin interfaceorg.jasypt.encryption.ByteEncryptor
-
setPassword
public void setPassword(String password)
- Specified by:
setPasswordin interfaceorg.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)
-
-