passgen-cmd

Crates.iopassgen-cmd
lib.rspassgen-cmd
version
sourcesrc
created_at2024-12-08 00:48:50.260335
updated_at2024-12-08 00:48:50.260335
descriptionCross-platform tool for generating cryptographically secure passwords/tokens and other sets and sequences.
homepagehttps://github.com/mammothcoding/passgen-cmd
repositoryhttps://github.com/mammothcoding/passgen-cmd
max_upload_size
id1475976
Cargo.toml error:TOML parse error at line 20, column 1 | 20 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Mammoth (mammothcoding)

documentation

README

alt text

Latest version Download docs.rs MIT Build Status made-with-rust

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 30 characters long:

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 bla@.321

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)

You can create a UUID (8-4-4-4-4-12 hexadecimal pattern) [unix-like]:

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)

Downloads

Releases/Builded packages

License

MIT

Commit count: 14

cargo fmt