masterpassword

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2021 License: Apache-2.0 Imports: 11 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 interface {

	// Generate will create new password in predictable way
	Generate(name string, scope string, counter uint, length uint8) string
}

Generator can generate a secret based on given arguments.

func NewGenerator

func NewGenerator(resolver MasterKeyResolver) Generator

NewGenerator will create new passless secret generator.

type MasterKeyResolver

type MasterKeyResolver interface {

	// MasterKey returns a master bytes
	MasterKey() []byte
}

MasterKeyResolver resolves a master key to be used by generator.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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