Construct an FSChaCha20Poly1305 cipher that rekeys every rekey_interval operations.
Synopsis
Declared in <crypto/chacha20poly1305.h>
FSChaCha20Poly1305(
std::span<std::byte const> key,
uint32_t rekey_interval) noexcept;
Parameters
Name |
Description |
key |
The 32‐byte key. |
rekey_interval |
The number of encrypt/decrypt operations between automatic rekeys. |
Created with MrDocs