[#ChaCha20-2constructor-00] = xref:ChaCha20.adoc[ChaCha20]::ChaCha20 :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<crypto/chacha20.h>` For safety, disallow initialization without key. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ChaCha20/2constructor-09.adoc[ChaCha20]() noexcept = delete; ---- [.small]#xref:ChaCha20/2constructor-09.adoc[_» more..._]# Initialize a cipher with specified 32‐byte key. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ChaCha20/2constructor-05.adoc[ChaCha20](std::span<std::byte const> key) noexcept; ---- [.small]#xref:ChaCha20/2constructor-05.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *key* | The 32‐byte key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#