12#ifndef WXPDFDOC_CRYPTO_RANDOM_H_
13#define WXPDFDOC_CRYPTO_RANDOM_H_
43 uint8_t key[32] = { 0 };
44 uint8_t nonce[12] = { 0 };
45 uint8_t buffer[64] = { 0 };
Class representing a cryptographically secure random number generator.
Definition: random.h:23
RandomBytesGenerator(const RandomBytesGenerator &)=delete
Copy constructor.
RandomBytesGenerator(RandomBytesGenerator &&)=delete
Move constructors.
virtual ~RandomBytesGenerator()=default
Destructor.
void GetRandomBytes(uint8_t *out, size_t n)
Get the X offset of the annotation.
Definition: random.cpp:310
RandomBytesGenerator()=default
Constructor for text annotation.