Constructors
Declared in <crypto/chacha20.h>
Deleted copy constructor (the secret key must not be duplicated).
FSChaCha20(FSChaCha20 const& other) = delete;
» more...
Deleted move constructor (the secret key must not be duplicated).
FSChaCha20(FSChaCha20&& other) = delete;
» more...
Construct an FSChaCha20 cipher that rekeys every rekey_interval Crypt() calls.
FSChaCha20(
std::span<std::byte const> key,
uint32_t rekey_interval) noexcept;
» more...
| Name | Description |
|---|---|
| other | The instance that would be copied. |
| key | The 32-byte key. |
| rekey_interval | The number of Crypt() calls between automatic rekeys. |