security

package
v0.0.14-classic Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: AGPL-3.0-or-later Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LowerChars   = "abcdefghijklmnopqrstuvwxyz"
	UpperChars   = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
	SpecialChars = "!@#$%"
	Numbers      = "0123456789"
	Alphanumeric = LowerChars + UpperChars + Numbers
	AllChars     = Alphanumeric + SpecialChars
	Length       = 20
)

Variables

This section is empty.

Functions

func GeneratePassword

func GeneratePassword(specialChars bool) string

GeneratePassword - generates a random password of 20 length

Types

This section is empty.

Jump to

Keyboard shortcuts

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