public interface Encryptor
By default this is used on non-varchar types such as Blobs.
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] data,
EncryptKey key)
Decrypt the data using the key.
|
String |
decryptString(byte[] data,
EncryptKey key)
Decrypt the data returning a formatted string value using a key.
|
byte[] |
encrypt(byte[] data,
EncryptKey key)
Encrypt the data using the key.
|
byte[] |
encryptString(String formattedValue,
EncryptKey key)
Encrypt the formatted string value using a key.
|
byte[] encrypt(byte[] data, EncryptKey key)
byte[] decrypt(byte[] data, EncryptKey key)
byte[] encryptString(String formattedValue, EncryptKey key)
String decryptString(byte[] data, EncryptKey key)
Copyright © 2019. All rights reserved.