password

package
v0.0.0-...-41af0e9 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidPassword = errors.New("invalid password")
)

Functions

This section is empty.

Types

type Password

type Password string

func (Password) CompareWithHashedPassword

func (p Password) CompareWithHashedPassword(hash string) bool

func (Password) Hash

func (p Password) Hash() ([]byte, error)

func (Password) Validate

func (p Password) Validate() error

Jump to

Keyboard shortcuts

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