2 stable releases
new 1.1.0 | Jan 5, 2025 |
---|---|
1.0.0 | Dec 8, 2024 |
#88 in Authentication
134 downloads per month
25KB
54 lines
Readme in different languages: EN RU
š» Passgen-cmd
Cross-platform tool for generating cryptographically secure passwords/tokens and other sets and sequences
CSPRNGs Isaac64Rng and Hc128Rng are used.
Install
cargo install passgen-cmd
Usage
Print help
passgen-cmd -h
Examples
You can create a strong token 30 characters long including all leterals, numbers and special symbols:
passgen-cmd 30
You can create a strong and usability password with default 8 characters long:
passgen-cmd -S
You can create a set from your custom charset 12 characters long:
passgen-cmd 12 -c abcABC123āāāā«ā¬nā¼āš
You can create a token like Telegram tokens (first part: 10 numbers, second part: 30 characters from all leterals and numbers) [unix-like]:
echo $(passgen-cmd 10 -n)":"$(passgen-cmd 35 -lLn)
Downloads
License
Dependencies
~1.4ā2.1MB
~38K SLoC