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