Skip to content

DylanMeeus/QuantumRandom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QuantumRandom

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:

API

The full docs are on godoc

But the basic functions to get started are:

  • NextInt(): int -> return a single QRNG number
  • NextIntN(amount int): []int -> return 'amount' of QRNG numbers
  • NextUint8() -> uint8 -> return a single QRNG uint8
  • NextUint16() -> uint16 -> return a single QRNG uint16