Skip to content

aldenpower/passwdgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passwdgen

This crate generate a random password via command line.

Installation

  1. Install Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  1. Clone this repository
git clone https://github.com/aldenpower/passwdgen
  1. Enter in the repository folder and build the project
cargo build --release
  1. Copy the binary to your system
cp target/release/passwdgen /usr/bin/
  1. Run the binary and enjoy!
passwdgen

Command-line options

Type the command for help

passwdgen -h

Options:

   OPTIONS:
    -c, --lowercaseletters <lcl>    Contain lower case letters [default: false]
    -h, --help                      Print help information
    -k, --spaces <spaces>           Contain spaces [default: false]
    -n, --numbers <numbers>         Contain numbers [default: false]
    -o, --symbol <symbol>           Contain symbols [default: false]
    -s, --size <size>               Password length [default: 5]
    -t, --similar <similar>         Contain similar characters [default: false]
    -u, --uppercaseletters <ucl>    Contain upper case letters [default: false]
    -V, --version                   Print version information 

Example:

A ten-digit password containing symbols, numbers, lower case and upper case letters without repeated characters.

passwdgen -s 10 -o -n -c -u

About

A simple password generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages