1#include <openssl/rand.h>
11 int result = RAND_bytes((
unsigned char*)
buf,
count);
13 FC_THROW(
"Error calling OpenSSL's RAND_bytes(): ${code}", (
"code", (
uint32_t)ERR_get_error()));
Defines exception's used by fc.
void rand_bytes(char *buf, int count)
void rand_pseudo_bytes(char *buf, int count)