Documentation ¶
Overview ¶
Package rand implements random value functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RandomBytes ¶
RandomBytes returns a random byte slice of size n and panics if crypto random reader returns an error.
func RandomString ¶
RandomString returns a random string of alphanumeric characters and panics if crypto random reader returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.