Documentation ¶
Overview ¶
Package uniformprng implements a uniform, cryptographically secure pseudo-random number generator.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source returns cryptographically-secure pseudorandom numbers with uniform distribution.
func RandSource ¶
RandSource creates a Source with seed randomness read from rand.
func (*Source) Int63 ¶
Int63 returns a pseudo-random 63-bit positive integer as an int64 without modulo bias.
Click to show internal directories.
Click to hide internal directories.