passgen

package module
v0.0.0-...-838b556 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2017 License: MIT Imports: 2 Imported by: 0

README

passgen

Simple password generation function for golang

Documentation

Index

Constants

View Source
const (
	Number    = "numbers"
	LowerCase = "lower"
	UpperCase = "upper"
)

Format for generate password

Variables

View Source
var LatinLetters = [26]rune{'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z'}

LatinLetters - uppercased latin letters

Functions

func Generate

func Generate(l int, e []rune, f []string) string

Generate Password generation functions\n\n l Length of password e Excluded symbols f Password format: Numbers, LowerCase, UpperCase

Types

This section is empty.

Jump to

Keyboard shortcuts

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