passwordcritic

module
v0.0.0-...-08dd15f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2023 License: AGPL-3.0

README

Password Critic codecov Go Report Card

github.com/samiam2013/passwordCritic

a Go module to

  • check the entropy of a password (variety & repitition)
  • check if the password shows up in a bloom filter built with a list of common passwords

Installing & Running

git clone https://github.com/samiam2013/passwordCritic.git
cd passwordCritic/
go test ./... # make sure the tests pass
cd cmd/
go build .
./cmd -r -p password123

and you can expect some output like

Entropy of the password candidate:  3.2776136
2022/01/13 15:25:08 password common, found in list with 100000 elements, but not more common than 1000, minimum set rarity.
{StringVal:password123 Cardinality:10 H:3.2776136}

TODO:

  • test frequency of false positives for a given BloomFilter.bitSet size
  • benchmark algorithms used by bloom filter for hashing
  • serialize the filter to something more efficient than the 0|1 mapped JSON
  • add a backup source for commmon password lists

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL