[#FSChaCha20-2constructor-07] = xref:FSChaCha20.adoc[FSChaCha20]::FSChaCha20 :relfileprefix: ../ :mrdocs: Construct an FSChaCha20 cipher that rekeys every rekey_interval Crypt() calls. == Synopsis Declared in `<crypto/chacha20.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- FSChaCha20( std::span<std::byte const> key, uint32_t rekey_interval) noexcept; ---- == Parameters [cols="1,4"] |=== | Name| Description | *key* | The 32‐byte key. | *rekey_interval* | The number of Crypt() calls between automatic rekeys. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#