ChaCha20Aligned::ChaCha20Aligned

Constructors

Synopses

Declared in <crypto/chacha20.h>

For safety, disallow initialization without key.

ChaCha20Aligned() noexcept = delete;
» more...

Initialize a cipher with specified 32-byte key.

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

Parameters

NameDescription
keyThe 32-byte key.