A simple CLI tool to check password strength using shssoichiro/zxcvbn-rs, which is a Rust port of dropbox/zxcvbn.
$ cargo install zxcvbn-cli
$ cargo install zxcvbn-cli -f
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
$ zxcvbn zxcvbn
$ zxcvbn "Tr0ub4dour&3"
$ zxcvbn correcthorsebatterystaple