Skip to main content

A Python interface to the ANU Quantum Random Numbers Server

Project description

This module is used to fetch blocks of random binary, hex, or character data from The ANU Quantum Random Number Generator.

import quantumrandom

# Get a string of 1024 random bits
quantumrandom.binary()

# Get a string of 1024 bytes of randomness in hexadecimal form
quantumrandom.hex()

# Get 1024 random alphanumeric (and underscore) characters
quantumrandom.char()

If for some reason it cannot obtain the correct amount of data in the expected format, these functions will raise exceptions.

warning:Due to the lack of an SSL/TLS interface at the moment, all data is sent over the wire in clear text.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for quantumrandom, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size quantumrandom-0.2.tar.gz (2.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page