CTRState constructor
CTRState(
- BlockCipher cipher,
- Uint8List counter, {
- Iterable<
int> encryptedCounterBuffer = const [],
Implementation
CTRState(this.cipher, Uint8List counter,
{Iterable<int> encryptedCounterBuffer = const []})
: _counter = Uint8List.fromList(counter),
encryptedCounterBuffer = Queue.from(encryptedCounterBuffer);