#password #strength #check #cli-tool #zxcvbn

bin+lib zxcvbn-cli

A simple CLI tool to check password strength using zxcvbn

7 stable releases

2.0.3 Jan 21, 2023
2.0.2 Jun 6, 2022
2.0.1 Oct 5, 2020
2.0.0 Nov 11, 2019
1.1.0 Jun 3, 2019

#6 in #strength

MIT license

14KB
278 lines

❮zxcvbn-cli❯

version downloads license

A simple CLI tool to check password strength using shssoichiro/zxcvbn-rs, which is a Rust port of dropbox/zxcvbn.

Installation

$ cargo install zxcvbn-cli

Updating

$ cargo install zxcvbn-cli -f

Usage

There are multiple ways to use zxcvbn-cli:

  • Supply password via argument:

    $ zxcvbn [password]
    
  • Enter password via stdin:

    $ zxcvbn
    
  • Enter password via stdin, but don't show it or the sequence in output:

    $ zxcvbn -s
    

Examples

$ zxcvbn zxcvbn

img/zxcvbn

$ zxcvbn "Tr0ub4dour&3"

img/Tr0ub4dour_3

$ zxcvbn correcthorsebatterystaple

img/correcthorsebatterystaple

Dependencies

~8–19MB
~205K SLoC