quantum-random-0.6.4: Retrieve, store and manage real quantum random data.

Safe HaskellNone
LanguageHaskell2010

Quantum.Random.ANU

Contents

Description

This module provides functionality for retrieving and parsing the quantum random number data from the Australian National University QRN server.

This module can be used when one only wants to use live data directly from the server, without using any of the data store functionality.

In most other cases it should be imported via the Quantum.Random module.

Synopsis

QRN data retrieval

fetchQR :: Int -> IO [Word8] Source #

Fetch quantum random data from ANU server as a linked list of bytes via HTTPS. Network problems may result in an HttpException. An invalid response triggers a QRException.

fetchQRBits :: Int -> IO [Bool] Source #

Fetch QRN data from ANU server as a linked list of booleans via HTTPS. Network problems may result in an HttpException. An invalid response triggers a QRException.