Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePassword ¶
func GeneratePassword(words *Words, n int, s string, maxLen int, minLen int, extendedWords bool) string
GeneratePassword generates a password according to a few rules:
w=dictionary of random words to choose from
n=number of words
s=separator character
maxLen=maximum allowable length of the resulting password
minLen=minimum allowable length of the resulting password.
func GetRandomInt ¶
GetRandomInt generates a random number from 0 to m.
Types ¶
Click to show internal directories.
Click to hide internal directories.