processCtr static method
Implementation
static List<int> processCtr(
{required List<int> key,
required List<int> iv,
required List<int> data}) {
final CTR ctr = CTR(AES(key), iv);
final xor = List<int>.filled(data.length, 0);
ctr.streamXOR(data, xor);
ctr.clean();
return xor;
}