Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PseudoRandInt ¶
Returns non crypto grade random int [0, max]. If max == 10 -> returns value between 0 and 9.
func RandInt ¶
Returns a crypto grade random value [0, max]. If max == 10 -> returns value between 0 and 9. Because of the crypto grade it's quite slow so don't use if crypto grade is not an requirement and speed is important.
func RandIntMinMax ¶
Returns a crypto grade random value [min, max]. If min == 5 && max == 10 -> returns value between 5 and 9. Because of the crypto grade it's quite slow so don't use if crypto grade is not an requirement and speed is important.
func RandString ¶
Returns a crypto grade string of len(n). Because of the crypto grade it's quite slow so don't use if crypto grade is not an requirement and speed is important.
Types ¶
This section is empty.