Description
Password strength estimation based on zxcvbn.
Description
Please see the README below.
README.md
What?
This package enhances the zxcvbn password strength estimation algorithm by allowing it to detect keyboard patterns made with a Dvorak layout.
It also serves as an example of how to generate a keyboard layout for zxcvbn-hs.
How to Use this Package
Let's say you want to add the Dvorak keyboard layout to the default en_US
config:
import Text.Password.Strength.Config
import Text.Password.Strength.Config.Dvorak
myConfig :: Config
myConfig = dvorak en_US
How this Package is Put Together
Essentially:
Edit the raw layout file in
data/keyboards/en-US/dvorak.txt
Turn that into Haskell with
generate.sh
NOTE: The generate.sh
script requires Nix to be installed.