| Crates.io | generate-strong-password |
| lib.rs | generate-strong-password |
| version | 0.1.1 |
| created_at | 2026-01-12 05:49:18.502081+00 |
| updated_at | 2026-01-12 05:49:18.502081+00 |
| description | A command line tool for generating strong passwords |
| homepage | https://github.com/kyuki3rain/generate-strong-password |
| repository | https://github.com/kyuki3rain/generate-strong-password |
| max_upload_size | |
| id | 2037047 |
| size | 31,385 |
A command line tool for generating strong passwords. This tool allows you to create a secure password based on a specified length or combination of characters.
cargo install generate-strong-password
If you have cargo-binstall installed, you can install the pre-built binary:
cargo binstall generate-strong-password
Download the binary for your platform from GitHub Releases.
curl -L https://github.com/kyuki3rain/generate-strong-password/releases/latest/download/generate-strong-password-v0.1.1-x86_64-unknown-linux-gnu.tar.gz | tar xz
sudo mv generate-strong-password /usr/local/bin/
curl -L https://github.com/kyuki3rain/generate-strong-password/releases/latest/download/generate-strong-password-v0.1.1-x86_64-apple-darwin.tar.gz | tar xz
sudo mv generate-strong-password /usr/local/bin/
curl -L https://github.com/kyuki3rain/generate-strong-password/releases/latest/download/generate-strong-password-v0.1.1-aarch64-apple-darwin.tar.gz | tar xz
sudo mv generate-strong-password /usr/local/bin/
Download generate-strong-password-v0.1.1-x86_64-pc-windows-msvc.zip from Releases and extract it.
generate-strong-password [OPTIONS]
| Option | Description | Default |
|---|---|---|
-l, --length <LENGTH> |
Password length | 16 |
-C, --uppercase <UPPERCASE> |
Weight of uppercase letters | 4 |
-c, --lowercase <LOWERCASE> |
Weight of lowercase letters | 4 |
-n, --numbers <NUMBERS> |
Weight of numbers | 4 |
-s, --symbols <SYMBOLS> |
Weight of symbols | 1 |
--symbol-sets <SYMBOL-SETS> |
Symbol characters to use | !$%&'()*+,/;<=>?[]^{}~ |
-h, --help |
Display help | |
-V, --version |
Display version |
Generate a password with default settings:
generate-strong-password
Generate a 12-character password with only uppercase letters and numbers:
generate-strong-password -l 12 -C 1 -c 0 -n 1 -s 0
Generate a password using only specific symbols (@%&):
generate-strong-password --symbol-sets "@%&"
Note: The password must contain at least one character of each type with a non-zero weight. For example, with default settings (4 types), the minimum length is 4 characters.
This project is released under the MIT License. See the LICENSE file for more information.
Please report any questions or bugs on the Issues page.