Documentation
¶
Overview ¶
Package randutil provides cryptographically secure random number utilities.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Int64N ¶
Int64N returns a cryptographically random integer in [0, n). It panics when n is not positive or the system random source fails.
func IntN ¶
IntN returns a cryptographically random integer in [0, n). It panics when n is not positive or the system random source fails.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.