Switch to another 32‐byte key.

Synopsis

Declared in <crypto/chacha20poly1305.h>

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

Parameters

Name

Description

key

The new 32‐byte key.

Created with MrDocs