Skip to content

Releases: kostDev/genpass

Password Generator Tool v1.0

03 Nov 19:45
Compare
Choose a tag to compare

Password Generator Tool v1.0

Overview

The initial release of a customizable password generator, developed in Rust for efficient and secure password generation. This tool allows users to create complex passwords with configurable options directly from the command line.


Key Features

  • Flexible Character Sets: Customize your password character pool with the following options:

    • a: Lowercase alphabet [a-z]
    • aa: Uppercase alphabet [A-Z]
    • s: Symbols [#$%^*_-=+~;[<{(:&|@:)}>];~.?!]
    • n: Numbers [0-9]
    • Custom characters: Enter your own characters or words to add to the pool for generating unique passwords.
  • Customizable Password Length: Specify the desired password length as the first argument for precision in password complexity.

  • Default and Custom Modes:

    • Default Mode: If no additional character set arguments are provided, the generator defaults to using lowercase, uppercase, symbols, and numbers.
    • Custom Mode: Specify character sets to tailor your password (e.g., only lowercase and numbers).

Usage

Enter the command with:

  1. The desired password length as the first argument.
  2. Optional character set arguments (a, aa, s, n) and/or custom strings to define the password's content.

Examples:

# Default mode (uses all predefined character sets) `["a", "aa", "s", "n"]`:
>> 16
Yours generated password[16]: jY*3vP6a@zWr#9X&

# Custom mode (using lowercase, symbols, and numbers only):
>> 12 a s n
Yours generated password[12]: d1$e!r8p9t@w

# Custom mode with custom strings (e.g., "@_@^_^00 "):
>> 10 a @_@^_^00 s 
Yours generated password[10]: :q::{:~x$<

Improvements & Bug Fixes

  • Enhanced Input Validation: Prevents crashes from empty or invalid inputs.
  • Increased Security: Incorporates randomized shuffling and ensures secure character selection.
  • Streamlined Output: Clear, user-friendly output with concise error messages for any invalid inputs.