Skip to content

Latest commit

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Build StatusCoverage StatusGoDoc

Safe

Is your password safe? This is a Golang fork of Safe

How it works?

link

Installation

go get github.com/holys/safe

Usage

import "github.com/holys/safe"
s := safe.New(8, 0, 3, safe.Strong)
s.SetWords("/path/to/words")
s.Check("password")

Performance

$ go test -bench .
PASS
BenchmarkIsAsdf-4 5000000 290 ns/op
BenchmarkIsByStep-4 20000000 74.4 ns/op
BenchmarkIsCommonPassword-4	100000000 21.2 ns/op
BenchmarkReverse-4 3000000 484 ns/op
BenchmarkCheck-4 500000 2379 ns/op
ok github.com/holys/safe	8.670s

License

MIT

About

Is your password safe?

Resources

Stars

12 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages