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