u_password

package
v1.1.8 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2022 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