passwd

package
v0.0.0-...-a5d30ca Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetByte

func GetByte(b GetByter) []byte

Types

type GetByter

type GetByter interface {
	ToByte() []byte
}

type Hash

type Hash string

func (Hash) Compare

func (h Hash) Compare(p Password) error

func (Hash) ToByte

func (h Hash) ToByte() []byte

type Password

type Password string

func AskPwd

func AskPwd() Password

func (Password) ToByte

func (p Password) ToByte() []byte

func (Password) ToHash

func (p Password) ToHash() (Hash, error)

Jump to

Keyboard shortcuts

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