Readme in different languages: EN RU
Cross-platform tool for generating cryptographically secure passwords/tokens and other sets and sequences
CSPRNGs Isaac64Rng and Hc128Rng are used.
cargo install passgen-cmdpassgen-cmd -hYou can create a strong token 30 characters long including all leterals, numbers and special symbols 30 characters long:
passgen-cmd 30passgen-cmd -Spassgen-cmd 12 -c bla@.321You 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)echo $(passgen-cmd 8 -c 0123456789abcdef)"-"$(passgen-cmd 4 -c 0123456789abcdef)"-"$(passgen-cmd 4 -c 0123456789abcdef)"-"$(passgen-cmd 4 -c 0123456789abcdef)"-"$(passgen-cmd 12 -c 0123456789abcdef)