decryptCBC

open fun decryptCBC(key: Array<Byte>, data: Array<Byte>, iv: Array<Byte>, mode: AESPaddingMode): Array<Byte>

Decrypts a block of data using AES in Cipher Block Chaining (CBC) mode.

Return

decrypted Data.

Parameters

key

decryption key Data, must be 16, 24, or 32 bytes long.

data

Data to decrypt.

iv

initialization vector Data.

mode

padding mode.