//
pkg.gl
Category
github.com/dimensiondev/crypto
rand
package
2.0.0+incompatible
Repository:
https://github.com/dimensiondev/crypto.git
Documentation:
pkg.go.dev
Overview
Versions
2
Dependencies
12
Dependents
0
Files
397 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.