diff --git a/default.go b/default.go index 933ee7a..be51ad1 100644 --- a/default.go +++ b/default.go @@ -14,6 +14,11 @@ func Bool() bool { return Default.Bool() } +// Password returns an arbitrary password. +func Password() string { + return Default.Password() +} + // PhoneNumber returns an arbitrary phone‐number. // // Some example phone‐number include: diff --git a/t_password.go b/t_password.go new file mode 100644 index 0000000..7eb1699 --- /dev/null +++ b/t_password.go @@ -0,0 +1,181 @@ +package arbitrary + + +var passwords []string = []string{ + "!@#$%^&*", + "000000", + "111111", + "11111111", + "112233", + "121212", + "123123", + "123321", + "1234", + "12345", + "123456", + "1234567", + "12345678", + "123456789", + "1234567890", + "123qwe", + "131313", + "159753", + "18atcskd2w", + "1q2w3e", + "1q2w3e4r", + "1q2w3e4r5t", + "1qaz2wsx", + "2000", + "3210", + "3rjs1la7qe", + "4321", + "43210", + "54321", + "543210", + "555555", + "654321", + "6543210", + "666666", + "6969", + "696969", + "7654321", + "76543210", + "777777", + "7777777", + "87654321", + "876543210", + "888888", + "987654321", + "9876543210", + "aa123456", + "aaaaaa", + "aaron431", + "abc123", + "access", + "admin", + "adobe123", + "amanda", + "andrew", + "aries", + "aquarius", + "asdfgh", + "ashley", + "asshole", + "azerty", + "babylon", + "bailey", + "baseball", + "batman", + "biteme", + "buster", + "cancer", + "capricorn", + "charlie", + "cheese", + "chelsea", + "computer", + "daniel", + "donald", + "Dragon", + "dragon", + "easy", + "flower", + "Football", + "football", + "freedom", + "fuck", + "fuckme", + "gemini", + "george", + "ginger", + "google", + "harley", + "hockey", + "hunter", + "iloveyou", + "letmein", + "libra", + "jennifer", + "jessica", + "jesus", + "jordan", + "joshua", + "killer", + "klaster", + "leo", + "login", + "love", + "lovely", + "maggie", + "master", + "matrix", + "matthew", + "michael", + "michelle", + "Monkey", + "monkey", + "Million2", + "mustang", + "mynoob", + "nicole", + "ninja", + "oooooooo", + "pass", + "passw0rd", + "password", + "password1", + "pepper", + "photoshop", + "picture1", + "princess", + "pisces", + "program", + "pussy", + "qazwsx", + "qqww1122", + "qwerty", + "qwerty123", + "Qwertyuiop", + "qwertyuiop", + "racecar", + "ranger", + "robert", + "rrrr", + "sagittarius", + "scorpio", + "senha", + "shadow", + "soccer", + "solo", + "starwars", + "summer", + "sunshine", + "superman", + "taurus", + "thomas", + "thunder", + "tigger", + "trustno1", + "virgo", + "welcome", + "whatever", + "wrongpassword", + "zaq1zaq1", + "zxcvbnm", +} + + +// Password returns an arbitrary password. +func (arb T) Password() string { + + var result string + { + result = passwords[arb.randomness.Intn(len(passwords))] + } + + if 0 == arb.randomness.Intn(97) { + result = arb.String() + } + + return result +}