password
parent
13540386fd
commit
4788f62e74
|
@ -0,0 +1,6 @@
|
|||
package arbitrary
|
||||
|
||||
var languages = [][]string{
|
||||
wordsEnglish,
|
||||
wordsKorean,
|
||||
}
|
|
@ -14,6 +14,8 @@ func (arb T) Password() string {
|
|||
|
||||
if 0 == arb.randomness.Intn(7) {
|
||||
|
||||
var words []string = languages[arb.randomness.Intn(len(languages))]
|
||||
|
||||
var storage strings.Builder
|
||||
|
||||
var limit int = 2 + arb.randomness.Intn(6)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package arbitrary
|
||||
|
||||
var words []string = []string{
|
||||
var wordsEnglish []string = []string{
|
||||
"abandon",
|
||||
"ability",
|
||||
"able",
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue