[#ChaCha20Aligned-Seek] = xref:ChaCha20Aligned.adoc[ChaCha20Aligned]::Seek :relfileprefix: ../ :mrdocs: Set the 96‐bit nonce and 32‐bit block counter. == Synopsis Declared in `<crypto/chacha20.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void Seek( xref:ChaCha20Aligned/Nonce96.adoc[Nonce96] nonce, uint32_t block_counter) noexcept; ---- == Description Block_counter selects a position to seek to (to byte BLOCKLEN*block_counter). After 256 GiB, the block counter overflows, and nonce.first is incremented. == Parameters [cols="1,4"] |=== | Name| Description | *nonce* | The 96‐bit nonce to seek to. | *block_counter* | The 32‐bit block counter selecting the position within the stream. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#