Pepper_31_C++_interfaces
|
APIs related to cryptography. More...
#include <crypto_dev.h>
Public Member Functions | |
Crypto_Dev () | |
bool | GetRandomBytes (char *buffer, uint32_t num_bytes) |
APIs related to cryptography.
Definition at line 16 of file crypto_dev.h.
|
inline |
Definition at line 18 of file crypto_dev.h.
bool pp::Crypto_Dev::GetRandomBytes | ( | char * | buffer, |
uint32_t | num_bytes | ||
) |
A function that fills the buffer with random bytes. This may be slow, so avoid getting more bytes than needed.
[out] | buffer | The buffer to receive the random bytes. |
[in] | num_bytes | A number of random bytes to produce. |