AESClient Cipher

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

Constructor to init AESClientCipher

Parameters

ivParameterSpec

: initialization vector as String

secretKey

: secret key used in the Cipher as String

algorithm

: algorithm used for AES cipher


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

Constructor to init AESClientCipher

Parameters

ivParameterSpec

: initialization vector as IvParameterSpec

secretKey

: secret key used in the Cipher as SecretKey

algorithm

: algorithm used for AES cipher