pwgen

package
v0.0.0-...-544e413 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2016 License: BSD-2-Clause Imports: 2 Imported by: 1

Documentation

Index

Constants

View Source
const StdChars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*()-_=+,.?/:;{}[]`~"

Variables

This section is empty.

Functions

func Generate

func Generate(size int) (password []byte, err error)

Generate will attempt to generate a password of the specified size. There is no limit on the length.

func RandChar

func RandChar() (c byte, err error)

RandChar returns a random character from StdChars.

Types

This section is empty.

Jump to

Keyboard shortcuts

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