Function gnunet_sys::GNUNET_CRYPTO_random_timeflake [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_random_timeflake(
mode: GNUNET_CRYPTO_Quality,
uuid: *mut GNUNET_Uuid
)
@ingroup crypto Fill UUID with a timeflake pseudo-random value. Note that timeflakes use only 80 bits of randomness and 48 bits to encode a timestamp in milliseconds. So what we return here is not a completely random number.
@param mode desired quality of the random number @param uuid the value to fill