master
Charles Iliya Krempeaux 2021-11-22 16:07:34 -08:00
parent 13540386fd
commit 4788f62e74
4 changed files with 2061 additions and 1 deletions

6
languages.go 100644
View File

@ -0,0 +1,6 @@
package arbitrary
var languages = [][]string{
wordsEnglish,
wordsKorean,
}

View File

@ -14,6 +14,8 @@ func (arb T) Password() string {
if 0 == arb.randomness.Intn(7) { if 0 == arb.randomness.Intn(7) {
var words []string = languages[arb.randomness.Intn(len(languages))]
var storage strings.Builder var storage strings.Builder
var limit int = 2 + arb.randomness.Intn(6) var limit int = 2 + arb.randomness.Intn(6)

View File

@ -1,6 +1,6 @@
package arbitrary package arbitrary
var words []string = []string{ var wordsEnglish []string = []string{
"abandon", "abandon",
"ability", "ability",
"able", "able",

2052
words_korean.go 100644

File diff suppressed because it is too large Load Diff