Skip to content

ninja-software/go-check-passwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-check-passwd

A tool to see if password is commonly used or not

Install

go get github.com/ninja-software/go-check-passwd

Example

package main

import (
    "fmt"
    "time"

    "github.com/ninja-software/go-check-passwd"
)

func main() {
    pass := "123456"

    if gocheckpasswd.IsCommon(pass) {}
        fmt.Printf("%s is a commonly used password\n", pass)
    else {
        fmt.Printf("%s is not a commonly used password\n", pass)
    }
}

About

Checks the password for commonly used password

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages