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 |
#2208 in Command line utilities
25 downloads per month
14KB
278 lines
❮zxcvbn-cli❯
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
$ zxcvbn "Tr0ub4dour&3"
$ zxcvbn correcthorsebatterystaple
Dependencies
~8–20MB
~197K SLoC