public static class EncryptionWithInitVectorOper.SymmeticEncryption extends Object implements EncryptionService
Constructor and Description |
---|
SymmeticEncryption() |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] data)
Decrypt data using underlying encryption key.
|
byte[] |
encrypt(byte[] data)
Encrypt data using underlying encryption key.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEncryptionKeyId
public byte[] encrypt(byte[] data)
EncryptionService
encrypt
in interface EncryptionService
data
- data to encryptpublic byte[] decrypt(byte[] data)
EncryptionService
decrypt
in interface EncryptionService
data
- data to decryptCopyright © 2020. All rights reserved.