[#FSChaCha20-Crypt]
= xref:FSChaCha20.adoc[FSChaCha20]::Crypt
:relfileprefix: ../
:mrdocs:

Encrypt or decrypt a chunk&period;

== Synopsis

Declared in `&lt;crypto&sol;chacha20&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
Crypt(
    std::span&lt;std::byte const&gt; input,
    std::span&lt;std::byte&gt; output) noexcept;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *input*
| The message to encrypt or decrypt&period;
| *output*
| Output buffer receiving the result&semi; must be the same size as `input&period;`
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
