package
0.8.1
Repository: https://github.com/infraboard/keyauth.git
Documentation: pkg.go.dev

# Functions

New returns a new generator.
NewValidater 生产检查器.
NewWithDefault returns a new generator with the default config.

# Constants

DefaultLetterAmbiguousSet are letters which are removed from the chosen character set if removing similar characters.
DefaultLetterSet is the letter set that is defaulted to - just the alphabet.
DefaultNumberAmbiguousSet are the numbers which are removed from the chosen character set if removing similar characters.
DefaultNumberSet the default symbol set if character set hasn't been selected.
DefaultSymbolAmbiguousSet are the symbols which are removed from the chosen character set if removing ambiguous characters.
DefaultSymbolSet the default symbol set if character set hasn't been selected.
LengthOK ok length password.
LengthStrong strong length password.
LengthVeryStrong very strong length password.
LengthWeak weak length password.

# Variables

DefaultConfig is the default configuration, defaults to: - length = 24 - Includes symbols, numbers, lowercase and uppercase letters.

# Structs

Config is the config struct to hold the settings about what type of password to generate.
Generator is what generates the password.

# Interfaces

Validater 校验器.