Returns an 8 byte random value that can be used in non secure random operations.
- Returns
- Returns a random 64 bit integer. The randomness is taken from the current system time, a value of a system counter and, if mouse is presented, the current cursor position. The system counter is either a value returned by the the rdtsc x86 instruction in Windows, or returned by a POSIX clock_gettime function.
- Warning
- The function does not produce enough entropy to be used in security operations such as cryptographic key generation. Therefore it must not be used during security operations.