generate

package
v0.0.0-...-e5de224 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(pwlen int) string

Generate will return a securely generated password. A default password length of 24 will be used if

  1. No pwlen is supplied
  2. pwlen is less than 1
  3. pwlen is greater than 2^17(131,072)

NOTE: passwords are only guaranteed to be *at least* pwlen in length

they may in fact be longer

Types

This section is empty.

Jump to

Keyboard shortcuts

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