[#FSChaCha20Poly1305-2constructor-011] = xref:FSChaCha20Poly1305.adoc[FSChaCha20Poly1305]::FSChaCha20Poly1305 :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<crypto/chacha20poly1305.h>` Deleted copy constructor (the secret key must not be duplicated). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:FSChaCha20Poly1305/2constructor-0e.adoc[FSChaCha20Poly1305](xref:FSChaCha20Poly1305.adoc[FSChaCha20Poly1305] const& other) = delete; ---- [.small]#xref:FSChaCha20Poly1305/2constructor-0e.adoc[_» more..._]# Deleted move constructor (the secret key must not be duplicated). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:FSChaCha20Poly1305/2constructor-01a.adoc[FSChaCha20Poly1305](xref:FSChaCha20Poly1305.adoc[FSChaCha20Poly1305]&& other) = delete; ---- [.small]#xref:FSChaCha20Poly1305/2constructor-01a.adoc[_» more..._]# Construct an FSChaCha20Poly1305 cipher that rekeys every rekey_interval operations. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:FSChaCha20Poly1305/2constructor-0f.adoc[FSChaCha20Poly1305]( std::span<std::byte const> key, uint32_t rekey_interval) noexcept; ---- [.small]#xref:FSChaCha20Poly1305/2constructor-0f.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 encrypt/decrypt operations between automatic rekeys. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#