gopass: github.com/justwatchcom/gopass/pkg/pwgen/xkcdgen Index | Files

package xkcdgen

import "github.com/justwatchcom/gopass/pkg/pwgen/xkcdgen"

Index

Package Files

pwgen.go

func Random Uses

func Random() string

Random returns a random passphrase combined from four words

func RandomLength Uses

func RandomLength(length int, lang string) (string, error)

RandomLength returns a random passphrase combined from the desired number of words

func RandomLengthDelim Uses

func RandomLengthDelim(length int, delim, lang string) (string, error)

RandomLengthDelim returns a random passphrase combined from the desired number of words and the given delimiter. Words are drawn from lang

Package xkcdgen imports 1 packages (graph). Updated 2018-03-16. Refresh now. Tools for package owners.