keyStreamUsed property

  1. @override
int get keyStreamUsed
override

Number of bytes in key stream used to initialize the MAC algorithm.

In Chacha20.poly1305Aead, the first block of the ChaCha20 stream is used as the Poly1305 key (thus keyStreamUsed is 64).

Implementation

@override
int get keyStreamUsed => 64;