Construct an FSChaCha20 cipher that rekeys every rekey_interval Crypt() calls.
Declared in <crypto/chacha20.h>
FSChaCha20(
std::span<std::byte const> key,
uint32_t rekey_interval) noexcept;
| Name | Description |
|---|---|
| key | The 32-byte key. |
| rekey_interval | The number of Crypt() calls between automatic rekeys. |