ppgen

package
v0.0.0-...-445d490 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package ppgen creates a passphrase from a list of words.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePassPhrase

func GeneratePassPhrase(n int, separator string, seed string) (string, error)

GeneratePassPhrase creates a string with `n` words, separated by `separator`.

func GeneratePhraseWords

func GeneratePhraseWords(n int, seed string) ([]string, error)

GeneratePhraseWords picks 'n' number of words at random. Function is deterministic for repeat uses of the same seed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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