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 ¶
UrandomReader returns a reader for "/dev/urandom".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.