Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶
Generate n number of random bytes from a cryptographic randomiser.
func GenerateRandomSafeBytes ¶
Operates the same way as `GenerateRandomBytes` but encodes the result using base64 encoding.
func GenerateRandomSafeString ¶
Operates the same way as `GenerateRandomString` but encodes the result using base64 encoding.
func GenerateRandomString ¶
Generate a random string of the given length using bytes from the cryptographic randomiser.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.