AESServer Cipher

constructor(ivParameterSpec: IvParameterSpec, secretKey: SecretKey, algorithm: BaseCipher.Algorithm)
constructor(ivParameterSpec: String, secretKey: String, algorithm: BaseCipher.Algorithm)

Constructor to init AESServerCipher

Parameters

ivParameterSpec

: initialization vector as IvParameterSpec

secretKey

: secret key used in the Cipher as SecretKey

algorithm

: algorithm used for AES cipher