paspio, short for pasvorta entropio, is a password entropy calculator/library.
Please refrain from using this as a sole measure of password strength, it should be
used in conjuction with other security tools, e.g. cracklib-check
.
If you're intending on using paspio as a program, run the following in your terminal:
Example #1:
```bash
paspio "liuLe9ohjub8hu2ie" ```
Example #2:
```bash
pwgen -sync 20 1 | paspio ```
If you're wishing to use it in your own project(s), i.e. as a library, then add the following to your project's
Cargo.toml
:
paspio = "0.3"
cargo install paspio
git clone https://aur.archlinux.org/paspio-git.git
cd paspio-git
makepkg -si
git clone https://github.com/grtcdr/paspio
cd paspio
cargo build --release
Ever wanted to verify the strength of your passwords, but felt slightly uncomfortable doing so over the internet?
If you answered yes, then you're looking at the right tool. After all, it's the only reason I created it; to check how random my passwords are, but locally.
Entropy measures how unpredictable a password is.
bash
Entropy = L * log2(R)
Where:
- L
is the length of the password.
- R
is the size of the pool of characters the password exists in.
| Pool | Elements | Pool size | Notes | | -----: | :------ | :-------: | :---- | | Lowercase latin letters | [a-z] | 26 | | | Uppercase latin letters | [A-Z] | 26 | | | Digits | [0-9] | 10 | | | Symbols | !"#$%&'()*+,-./:;<=>?@[]^_`{}~ | 32 | Whitespace and pipe symbol included |