|
libusual
0.1
|
Cryptographically Secure Randomness. More...
Functions | |
| uint32_t | csrandom (void) |
| Return random uint32_t. | |
| uint32_t | csrandom_range (uint32_t upper_bound) |
| Return unsigned integer in range. | |
| void | csrandom_bytes (void *buf, size_t nbytes) |
| Fill buffer with random bytes. | |
Cryptographically Secure Randomness.
| uint32_t csrandom | ( | void | ) |
Return random uint32_t.
| uint32_t csrandom_range | ( | uint32_t | upper_bound | ) |
Return unsigned integer in range.
| void csrandom_bytes | ( | void * | buf, |
| size_t | nbytes | ||
| ) |
Fill buffer with random bytes.
1.7.6.1