Constructors

Synopses

Declared in <crypto/chacha20.h>

For safety, disallow initialization without key.

ChaCha20Aligned() noexcept = delete;

Initialize a cipher with specified 32‐byte key.

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

Parameters

Name

Description

key

The 32‐byte key.

Created with MrDocs