qrng

package module
v0.0.0-...-2e365d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

Quantum Random Number Generator Client for ANU.edu.au.

GoDoc SLA

go get [-u -f] cirello.io/qrng

Documentation

Overview

Package qrng is quantum Random Number Generator Client for ANU.edu.au.

Index

Constants

This section is empty.

Variables

View Source
var Reader io.Reader = &reader{}

Reader is a global, shared instance of a quantum based random number generator.

Functions

func Hex16

func Hex16(length, blockSize int) ([]string, error)

Hex16 returns word-sized hexadecimal random number blocks.

func Read

func Read(p []byte) (n int, err error)

Read is a helper function that calls Reader.Read using io.ReadFull.

func Uint16

func Uint16(length int) ([]uint16, error)

Uint16 returns word-sized random numbers.

func Uint8

func Uint8(length int) ([]uint8, error)

Uint8 returns byte-sized random numbers.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL