pwgen

package
v1.1.47 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator interface {
	Generate() string
}

type Pwgen

type Pwgen struct {
	MinLength         int
	MinLower          int
	MinUpper          int
	MinNum            int
	MinSpecial        int
	ExcludeCharacters []rune
}

Pwgen is for generating random passwords that meet strict password policy requirements (eg. those that require symbols, letters, numbers, etc)

func (Pwgen) Generate

func (p Pwgen) Generate() string

Jump to

Keyboard shortcuts

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