en/deciphers the message <in_bytes> and write the result into <out_bytes>
Declared in <crypto/chacha20.h>
void
Crypt(
std::span<std::byte const> in_bytes,
std::span<std::byte> out_bytes) noexcept;
The size of in_bytes and out_bytes must be equal.
| Name | Description |
|---|---|
| in_bytes | The message to encrypt or decrypt. |
| out_bytes | Output buffer receiving the result; must be the same size as in_bytes. |