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) {
|
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)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
package arbitrary
|
package arbitrary
|
||||||
|
|
||||||
var words []string = []string{
|
var wordsEnglish []string = []string{
|
||||||
"abandon",
|
"abandon",
|
||||||
"ability",
|
"ability",
|
||||||
"able",
|
"able",
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue