mirror of
https://github.com/status-im/zxcvbn-go.git
synced 2025-01-22 01:09:10 +00:00
pulled out main function.
This commit is contained in:
parent
0270356a60
commit
0c1d96fc2c
@ -8,10 +8,10 @@ import (
|
|||||||
"zxcvbn-go/utils/math"
|
"zxcvbn-go/utils/math"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
//func main() {
|
||||||
password :="Testaaatyhg890l33t"
|
// password :="Testaaatyhg890l33t"
|
||||||
fmt.Println(PasswordStrength(password, nil))
|
// fmt.Println(PasswordStrength(password, nil))
|
||||||
}
|
//}
|
||||||
|
|
||||||
func PasswordStrength(password string, userInputs []string) scoring.MinEntropyMatch {
|
func PasswordStrength(password string, userInputs []string) scoring.MinEntropyMatch {
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user