Documentation
¶
Index ¶
Constants ¶
View Source
const ( LowerCaseChars = "abcdefghijklmnopqrstuvwxyz" UpperCaseChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" NumberChars = "0123456789" SpecialChars = " !\"£$%^&*()-_=+]}[{#~'@;:/?.>,<\\|`¬" AlphabetChars = LowerCaseChars + UpperCaseChars AlphaNumericChars = AlphabetChars + NumberChars AllChars = AlphaNumericChars + SpecialChars )
Variables ¶
View Source
var ErrorBadCharSet = errors.New("availableCharBytes length must be greater" +
" than 0 and less than or equal to 256")
Functions ¶
func RandomBytes ¶
RandomBytes returns the requested number of bytes using crypto/rand
Types ¶
Click to show internal directories.
Click to hide internal directories.