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.
Source Distribution
quantumrandom-0.2.tar.gz
(2.3 kB
view details)
File details
Details for the file quantumrandom-0.2.tar.gz
.
File metadata
- Download URL: quantumrandom-0.2.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 627ba663b94e0de415ff27aac7bc0c0ae1824b90a0c0db4682cee958e8ad71d6 |
|
MD5 | e6e46ef902c493e7a1b2cf65f9a83d03 |
|
BLAKE2b-256 | 917b64582878b2dbc5ac665996f3432328203e7ecd93a2624f3b79ec0f7955e5 |