earlyrand

package
v0.35.2 Latest Latest
Warning

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

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

Documentation

Overview

Package earlyrand provides a non-blocking reader to a source of randomness that can be used at early-boot. If the system-wide CSRNG is not yet initialized, this may return non-cryptograhically-secure randomness. This is an explicit trade-off that makes this package not suitable for key-generation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UrandomReader

func UrandomReader() (io.Reader, error)

UrandomReader returns a reader for "/dev/urandom".

Types

This section is empty.

Jump to

Keyboard shortcuts

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