password

package
v2.4.1-0...-eb90050 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager interface {
	GeneratePassword(length int) (string, error)
	Hash(password []byte) ([]byte, error)
}

type SimpleManager

type SimpleManager struct {
}

func (SimpleManager) GeneratePassword

func (m SimpleManager) GeneratePassword(length int) (string, error)

func (SimpleManager) Hash

func (m SimpleManager) Hash(password []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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