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, waitgetEncryptionKeyIdpublic byte[] encrypt(byte[] data)
EncryptionServiceencrypt in interface EncryptionServicedata - data to encryptpublic byte[] decrypt(byte[] data)
EncryptionServicedecrypt in interface EncryptionServicedata - data to decryptCopyright © 2020. All rights reserved.