Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateBytes ¶
GenerateBytes returns securely generated random bytes. It will return an error if the system's secure random number generator fails to function correctly, in which case the caller should not continue.
func GenerateHex ¶
GenerateHex returns a "byte * 2" hex string after encoding "byte" random bytes in hex
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.