genpass

module
v0.1.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2025 License: MIT

README

genpass

GitHub Releases LICENSE CI Go Reference Go Report Card

Generates secure random passphrases/password/hex/base64 strings.

Usage

$ genpass --help
Usage: genpass [-e] [-c N] [-w WORDLIST | -p | -x | -u] [-b BITS | -l N]

Generates secure random passphrases/password/hex/base64 strings.

Options:
  -e, --show-bits       Show the password strength
  -c, --count=N         Generate N strings
  -b, --bits=BITS       Generate strings with at least BITS-bit strength
                        (default: 80-bit for passphrase/password,
                                  128-bit for hex/base64)
  -l, --length=N        Generate N-words/characters strings
  -w, --wordlist={eff-large|eff-short1|eff-short2|bip39|slip39|FILE}
                        Generate passphrases using the specified wordlist
                        (default: eff-large)
  -p, --password        Generate passwords using ASCII graphical characters
  -P, --password-with=CSET
                        Generate passwords using characters specified by CSET
  -x, --hex             Generate hexadecimal strings
  -u, --base64          Generate base64url strings
  -h, --help            Show this help message and exit
      --version         Show version information and exit

Installation

Download from GitHub Releases

Build from source
$ go install github.com/cions/genpass/cmd/genpass@latest

License

MIT

Directories

Path Synopsis
cmd
genpass command
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL