Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶
func GenerateRandomHex ¶
GenerateRandomHex generates a random hex string of length n*2. Example: n=16 -> returns 32 chars hex string.
func GenerateRandomHexOrPanic ¶
GenerateRandomHexOrPanic is useful for tests or initialization where error handling is hard.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.