This library gets the data from the ANU Quantum Random Numbers server. For more information, please check out their website, or refer to their papers:
-
Real time demonstration of high bitrate quantum random number generation with coherent laster light
-
Maximization of Extractable Randomness in a Quantum Random Number Generator
The full docs are on godoc
But the basic functions to get started are:
NextInt(): int
-> return a single QRNG numberNextIntN(amount int): []int
-> return 'amount' of QRNG numbersNextUint8() -> uint8
-> return a single QRNG uint8NextUint16() -> uint16
-> return a single QRNG uint16