Dogecoin Core
1.14.2
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
class | FastRandomContext |
Fast randomness source. More... | |
Functions | |
void | RandAddSeed () |
void | GetRandBytes (unsigned char *buf, int num) |
Functions to gather random data via the OpenSSL PRNG. More... | |
uint64_t | GetRand (uint64_t nMax) |
int | GetRandInt (int nMax) |
uint256 | GetRandHash () |
void | GetStrongRandBytes (unsigned char *buf, int num) |
Function to gather random data from multiple sources, failing whenever any of those source fail to provide a result. More... | |
uint64_t GetRand | ( | uint64_t | nMax | ) |
Definition at line 153 of file random.cpp.
void GetRandBytes | ( | unsigned char * | buf, |
int | num | ||
) |
Functions to gather random data via the OpenSSL PRNG.
Definition at line 125 of file random.cpp.
uint256 GetRandHash | ( | ) |
Definition at line 173 of file random.cpp.
int GetRandInt | ( | int | nMax | ) |
Definition at line 168 of file random.cpp.
void GetStrongRandBytes | ( | unsigned char * | buf, |
int | num | ||
) |
Function to gather random data from multiple sources, failing whenever any of those source fail to provide a result.
Definition at line 132 of file random.cpp.
void RandAddSeed | ( | ) |