Crates.io | paspio |
lib.rs | paspio |
version | 1.0.0 |
source | src |
created_at | 2021-11-28 14:46:17.916142 |
updated_at | 2022-05-20 10:30:43.074634 |
description | A password entropy calculator. |
homepage | |
repository | https://git.sr.ht/~grtcdr/paspio |
max_upload_size | |
id | 488851 |
size | 9,366 |
paspio, short for pasvorta entropio, is a password entropy calculator/library.
The entropy of a password measures its unpredictability against brute force attacks in terms of bits, other common techniques of password cracking include dictionary attacks, which this tool does not cover.
This tool has not been audited by any third-party entities, and I am in no way a certified expert in the security field. Use this software at your own risk.
This tool doesn't cover the use of emojis, or any other character sets besides the latin alphabet, see "How does it calculate entropy" for more information.
paspio solves the simple need of verifying password entropy locally.
Entropy = L * log2(R)
Symbol set | Elements | Cardinality | Notes |
---|---|---|---|
Lowercase latin letters | [a-z] | 26 | |
Uppercase latin letters | [A-Z] | 26 | |
Digits | [0-9] | 10 | |
Symbols | !"#$%&'()*+,-.:;<=>?@[]^_`{/|\} | 32 | Whitespace included |
Where:
L
is the length of the password.R
is the sum of the cardinality of each set a password exists in.Pass one or more passwords to paspio to get their entropy.
paspio "liuLe9ohjub8hu2ie" # 101.22 bits
Pipe a pwgen-generated password to paspio.
pwgen -sync 20 1 | paspio # 137.65 bits
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://git.sr.ht/~grtcdr/paspio
cd paspio
cargo build --release