public interface EncryptionEngine
encrypt(byte[], byte[]) and decrypt(byte[], byte[]) methods.| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] input,
byte[] initVector)
Decrypts given input using given initialization vector (if needed)
|
byte[] |
encrypt(byte[] input,
byte[] initVector)
Encrypts given input and using given initialization vector (if needed).
|
byte[] encrypt(byte[] input,
byte[] initVector)
throws EncryptionException
input - input to be encryptedinitVector - initialization vector for encryption if needed (can be null)EncryptionException - exception if encryption failsbyte[] decrypt(byte[] input,
byte[] initVector)
throws EncryptionException
input - input to be decryptedinitVector - initialization vector for decryption if needed (can be null)EncryptionException - exception if decryption failsCopyright © 2019. All rights reserved.