//
pkg.gl
Category
github.com/gomini/go-mips32
src
crypto
rand
package
0.0.0-20230220224056-56b0efd6bad0
Repository:
https://github.com/gomini/go-mips32.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
11
Dependents
0
Files
257 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 strong pseudo-random generator.