AEADChaCha20Poly1305::SetKey

Switch to another 32-byte key.

Synopsis

Declared in <crypto/chacha20poly1305.h>

void
SetKey(std::span<std::byte const> key) noexcept;

Parameters

NameDescription
keyThe new 32-byte key.