[#AEADChaCha20Poly1305-SetKey] = xref:AEADChaCha20Poly1305.adoc[AEADChaCha20Poly1305]::SetKey :relfileprefix: ../ :mrdocs: Switch to another 32‐byte key. == Synopsis Declared in `<crypto/chacha20poly1305.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void SetKey(std::span<std::byte const> key) noexcept; ---- == Parameters [cols="1,4"] |=== | Name| Description | *key* | The new 32‐byte key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#