generate-strong-password

Crates.iogenerate-strong-password
lib.rsgenerate-strong-password
version0.1.1
created_at2026-01-12 05:49:18.502081+00
updated_at2026-01-12 05:49:18.502081+00
descriptionA command line tool for generating strong passwords
homepagehttps://github.com/kyuki3rain/generate-strong-password
repositoryhttps://github.com/kyuki3rain/generate-strong-password
max_upload_size
id2037047
size31,385
kyuki3rain (kyuki3rain)

documentation

README

generate-strong-password

Crates.io License: MIT

日本語版 README

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.

Installation

Using cargo install

cargo install generate-strong-password

Using cargo binstall (Recommended)

If you have cargo-binstall installed, you can install the pre-built binary:

cargo binstall generate-strong-password

From GitHub Releases

Download the binary for your platform from GitHub Releases.

Linux

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/

macOS (Intel)

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/

macOS (Apple Silicon)

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/

Windows

Download generate-strong-password-v0.1.1-x86_64-pc-windows-msvc.zip from Releases and extract it.

Usage

generate-strong-password [OPTIONS]

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

Examples

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.

License

This project is released under the MIT License. See the LICENSE file for more information.

Author

Please report any questions or bugs on the Issues page.

Commit count: 36

cargo fmt