en/deciphers the message <input> and write the result into <output>

Synopsis

Declared in <crypto/chacha20.h>

void
Crypt(
    std::span<std::byte const> input,
    std::span<std::byte> output) noexcept;

Description

The size of input and output must be equal, and be a multiple of BLOCKLEN.

Parameters

Name

Description

input

The message to encrypt or decrypt.

output

Output buffer receiving the result; must be the same size as input.

Created with MrDocs