Documentation ¶
Overview ¶
Package randx contains math/rand extensions. The functions exported by this package do not use a CSRNG so you SHOULD NOT use these strings for, e.g., generating passwords.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeCapitalization ¶
ChangeCapitalization returns a new string where the capitalization of each character is changed at random. Note that this function uses a non-cryptographically-secure generator. So, we SHOULD NOT use it for generating passwords.
func Letters ¶
Letters return a string composed of random letters. Note that this function uses a non-cryptographically-secure generator.
func LettersUppercase ¶
LettersUppercase return a string composed of random uppercase letters. Note that this function uses a non-cryptographically-secure generator. So, we SHOULD NOT use it for generating passwords.
Types ¶
This section is empty.