decryptCTR

open fun decryptCTR(key: Array<Byte>, data: Array<Byte>, iv: Array<Byte>): Array<Byte>

Decrypts a block of data using AES in Counter (CTR) 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.