u_password

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(password string, passwordHash string) (bool, error)

func Generate

func Generate(conf *PasswordConfig, password string) (passwordHash string, err error)

func GenerateDefault

func GenerateDefault(password string) (passwordHash string, err error)

Types

type PasswordConfig

type PasswordConfig struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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