|
@@ -3,10 +3,10 @@ package main
|
|
|
import (
|
|
|
"flag"
|
|
|
"fmt"
|
|
|
+ "github.com/chaosbunker/haveibeenpwned"
|
|
|
+ "github.com/trustelem/zxcvbn"
|
|
|
"math"
|
|
|
"os"
|
|
|
- "github.com/trustelem/zxcvbn"
|
|
|
- "github.com/chaosbunker/haveibeenpwned"
|
|
|
)
|
|
|
|
|
|
func contains(arr [3]string, str string) bool {
|
|
@@ -90,6 +90,5 @@ func main() {
|
|
|
}
|
|
|
if haveIBeenPwned == true {
|
|
|
fmt.Println("\nThis password has been compromised and should not be used.")
|
|
|
- return
|
|
|
}
|
|
|
}
|