Class SimpleAesEncryptor
java.lang.Object
io.ebeaninternal.server.type.SimpleAesEncryptor
- All Implemented Interfaces:
io.ebean.config.Encryptor
Simple AES based encryption and decryption.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]decrypt(byte[] data, io.ebean.config.EncryptKey encryptKey) decryptString(byte[] data, io.ebean.config.EncryptKey key) byte[]encrypt(byte[] data, io.ebean.config.EncryptKey encryptKey) byte[]encryptString(String valueFormatValue, io.ebean.config.EncryptKey key)
-
Constructor Details
-
SimpleAesEncryptor
public SimpleAesEncryptor()
-
-
Method Details
-
decrypt
public byte[] decrypt(byte[] data, io.ebean.config.EncryptKey encryptKey) - Specified by:
decryptin interfaceio.ebean.config.Encryptor
-
encrypt
public byte[] encrypt(byte[] data, io.ebean.config.EncryptKey encryptKey) - Specified by:
encryptin interfaceio.ebean.config.Encryptor
-
decryptString
- Specified by:
decryptStringin interfaceio.ebean.config.Encryptor
-
encryptString
- Specified by:
encryptStringin interfaceio.ebean.config.Encryptor
-