passwgen

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindItemInSlice

func FindItemInSlice(slice []byte, val byte) int

func LowerLetterChars

func LowerLetterChars() []byte

func NumeralChars

func NumeralChars() []byte

func RemoveInSlice

func RemoveInSlice(slice []byte, index int) []byte

func SpecialChars

func SpecialChars() []byte

func Unused

func Unused(vals ...interface{})

func UpperLetterChars

func UpperLetterChars() []byte

Types

type PasswGen

type PasswGen struct {
	CharactersType PasswGenCharType
	MinSize        int
	MaxSize        int
	IgnoredChars   []byte
	CopyClipboard  bool
}

func (PasswGen) Generate

func (psg PasswGen) Generate() string

func (PasswGen) Validate

func (psg PasswGen) Validate() PasswGen

type PasswGenCharType

type PasswGenCharType int
const (
	None        PasswGenCharType = 0
	Numeral     PasswGenCharType = 1
	UpperLetter PasswGenCharType = 2
	LowerLetter PasswGenCharType = 4
	Special     PasswGenCharType = 8
)

Jump to

Keyboard shortcuts

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