Encrypt or decrypt a chunk.
Declared in <crypto/chacha20.h>
void
Crypt(
std::span<std::byte const> input,
std::span<std::byte> output) noexcept;
| Name | Description |
|---|---|
| input | The message to encrypt or decrypt. |
| output | Output buffer receiving the result; must be the same size as input. |