aesCtr method
Creates CTR mode with 16, 24 or 32-byte key and 16-byte counter. Throws on invalid lengths.
Implementation
@override
BuAesCtr aesCtr(List<int> key, List<int> counter) {
return api.aesCtr(key, counter).unwrapOrThrowCryptoError();
}