@hackage / zxcvbn-dvorak

Password strength estimation based on zxcvbn.

Latest0.1.0.0

About

Metadata

  • Last updated , by PeterJones
  • License MIT
  • Categories Systems Programming
  • Maintained by: Peter Jones <pjones@devalot.com>

  • Lottery factor: 0

Links

Installation

Readme

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:

  1. Edit the raw layout file in data/keyboards/en-US/dvorak.txt

  2. Turn that into Haskell with generate.sh

NOTE: The generate.sh script requires Nix to be installed.