Set 32‐byte key, and seek to nonce 0 and block position 0.

Synopsis

Declared in <crypto/chacha20.h>

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

Parameters

Name

Description

key

The 32‐byte key.

Created with MrDocs