GithubHelp home page GithubHelp logo

parsec501 / pwdmix Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 37 KB

๐Ÿ”‘ A simple CLI generator for strong passwords

License: GNU Affero General Public License v3.0

Go 100.00%
cli devtools go golang minimal password password-generator

pwdmix's Introduction

A simple CLI generator for strong passwords. Written in Go's stdlib with cryptographically secure RNG. Provides multiple options to customize a password. It shadows the generated password in memory after execution.

pwdmix-demo

Usage (--help)

There is three options: password length, password mode (alphanumeric, numeric or alphabetic) and special characters. By default, pwdmix will generate a 12 character alphanumeric password without special characters.

To customize these options, you have three flags: -l (length), -m (mode) and -s (special chars).

  • -l: password length, 1 or higher [defaults to 12]
  • -m: generator mode, a (alphabetic), an (alphanumeric) or n (numeric) [defaults to an]
  • -s: adds special characters (recommended)

Example: ./pwdmix -l 18 -m n would generate an 18 character-long numeric password.

Installation

Download a precompiled binary (available for Windows, Linux and MacOS in multiple architectures) from the releases page. I recommend renaming it to just pwdmix or pwdmix.exe since the OS and architecture info makes the filename relatively long.

Alternatively, compile it yourself with go build -ldflags="-s -w" -o outputname cmd/pwdmix/main.go.

pwdmix's People

Contributors

parsec501 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.