Skip to content

Check passwords offline against haveibeenpwned.com's SHA1 password list

License

Notifications You must be signed in to change notification settings

jbowens/checkpassword

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

checkpassword

This command checks passwords against haveibeenpwned.com's alphbetized, SHA1 password list.

The latest password list as of writing is 23GB uncompressed, so a naive text search can be slow and memory-intensive. This program mmaps the file and binary searches over it. This approach is fast and has minor memory usage.

go get github.com/jbowens/checkpassword
go install github.com/jbowens/checkpassword
checkpassword -file ~/pwned-passwords-sha1-ordered-by-hash-v4.txt "password"

About

Check passwords offline against haveibeenpwned.com's SHA1 password list

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages