ChaCha20::Seek

Set the 96-bit nonce and 32-bit block counter. See ChaCha20Aligned::Seek.

Synopsis

Declared in <crypto/chacha20.h>

void
Seek(
    Nonce96 nonce,
    uint32_t block_counter) noexcept;

Parameters

NameDescription
nonceThe 96-bit nonce to seek to.
block_counterThe 32-bit block counter selecting the position within the stream.