generator

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

func NewGenerator

func NewGenerator(length, uppercaseCount, digitCount, specialCount uint32) (*Generator, error)

func (*Generator) EntropyMax

func (g *Generator) EntropyMax() uint64

func (*Generator) EntropyMin

func (g *Generator) EntropyMin() (uint64, error)

func (*Generator) Generate

func (g *Generator) Generate() ([]byte, error)

Jump to

Keyboard shortcuts

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