//
pkg.gl
Category
github.com/tinygo-org/tinygo
src
crypto
rand
package
0.36.0
Repository:
https://github.com/tinygo-org/tinygo.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
0
Files
155 SLOC
#
Functions
Int
Int returns a uniform random value in [0, max).
Prime
Prime returns a number, p, of the given size, such that p is prime with high probability.
Read
Read is a helper function that calls Reader.Read using io.ReadFull.
#
Variables
Reader
Reader is a global, shared instance of a cryptographically secure random number generator.