mongoc_rand_add - Man Page
Synopsis
void mongoc_rand_add (const void *buf, int num, double entropy);
Description
Mixes num bytes of data into the mongoc random number generator. Entropy specifies a lower bound estimate of the randomness contained in buf.
Parameters
- buf: A buffer.
- num: An int of number of bytes in buf.
- entropy: A double of randomness estimate in buf.
Author
MongoDB, Inc
Copyright
2017-present, MongoDB, Inc
Info
Apr 03, 2024 1.26.2 libmongoc