Skip to content

holys/safe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status GoDoc

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages