[#FSChaCha20-2constructor-0a] = xref:FSChaCha20.adoc[FSChaCha20]::FSChaCha20 :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<crypto/chacha20.h>` Deleted copy constructor (the secret key must not be duplicated). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:FSChaCha20/2constructor-02.adoc[FSChaCha20](xref:FSChaCha20.adoc[FSChaCha20] const& other) = delete; ---- [.small]#xref:FSChaCha20/2constructor-02.adoc[_» more..._]# Deleted move constructor (the secret key must not be duplicated). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:FSChaCha20/2constructor-0b.adoc[FSChaCha20](xref:FSChaCha20.adoc[FSChaCha20]&& other) = delete; ---- [.small]#xref:FSChaCha20/2constructor-0b.adoc[_» more..._]# Construct an FSChaCha20 cipher that rekeys every rekey_interval Crypt() calls. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:FSChaCha20/2constructor-07.adoc[FSChaCha20]( std::span<std::byte const> key, uint32_t rekey_interval) noexcept; ---- [.small]#xref:FSChaCha20/2constructor-07.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The instance that would be copied. | *key* | The 32‐byte key. | *rekey_interval* | The number of Crypt() calls between automatic rekeys. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#