Help us shape the future of Go! Take the 2026 Go Developer Survey

password

package
v0.8.78 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager added in v0.8.78

type Manager struct {
}

func (*Manager) HashPassword added in v0.8.78

func (p *Manager) HashPassword(password string) (string, error)

func (*Manager) VerifyPassword added in v0.8.78

func (p *Manager) VerifyPassword(password string, hash string) bool

type Password

type Password interface {
	VerifyPassword(password string, hash string) bool
	HashPassword(password string) (string, error)
}

Jump to

Keyboard shortcuts

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