upgen

package module
v0.0.0-...-6b23502 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 License: MIT Imports: 3 Imported by: 0

README

upgen

The Universal Password GENerator (upgen).

upgen can generates passwords with at least the specified amount of entropy. The default is 100 bits.

Usage

go install github.com/49pctber/upgen/cmd/...@latest

This will install the upgen utility.

Specify the amount of entropy you would like with the -e flag, and the number of passwords to generate with -n. Use -h for help.

Specify the types of characters/words to use using the following flags:

  • --alphanum: Include alphanumeric characters
  • --b32: Include base32 characters
  • --b64: Include base64 characters
  • --bip39: Include BIP-39 words
  • --hex: Include hex characters
  • --letter: Include letter characters
  • --lower: Include lowercase characters
  • --num: Include numeric characters
  • --special: Include special characters
  • --upper: Include uppercase characters

Documentation

Index

Constants

View Source
const (
	CharacterAlphanumeric = iota
	CharacterLetter
	CharacterLowercase
	CharacterUppercase
	CharacterNumeric
	CharacterSpecial
	CharacterHex
	CharacterBase32
	CharacterBase64
	WordBIP39
)

character types

Variables

View Source
var Bip39List []string = []string{}/* 2048 elements not displayed */

Functions

func GetCharacters

func GetCharacters(set int, avoid_ambiguous bool) string

func GetPassword

func GetPassword(requirements map[int]interface{}, min_entropy int) string

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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