password

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Password

type Password string

Password is a wrapper around the password hash

func (*Password) Set

func (p *Password) Set(password string) error

Set sets the password using the default hasher

func (*Password) Validate

func (p *Password) Validate(password string) error

Validate validates the password

Jump to

Keyboard shortcuts

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