Home | Libraries | People | FAQ | More |
Fills the buffer supplied with cryptographically strong randomness. Uses the OS kernel API.
BOOST_AFIO_DECL void utils::random_fill(char * buffer, size_t bytes)
Type |
Concept |
Name |
Description |
---|---|---|---|
char * |
buffer |
A buffer to fill |
|
size_t |
bytes |
How many bytes to fill |
#include <boost/afio/v2/afio.hpp>
Whatever the system API takes.
Any error from the operating system.