password

package
v1.20.3 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2026 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PasswordAlgoArgon2id = "argon2id"
)

Variables

This section is empty.

Functions

func EncodePassWord

func EncodePassWord(str string) string

func MultiPasswordVerify

func MultiPasswordVerify(algo, salt, password, hash string) bool

func PasswordAlgoForHash

func PasswordAlgoForHash(hash string) string

func PasswordNeedsRehash

func PasswordNeedsRehash(algo, hash string) bool

func VerifyPassWord

func VerifyPassWord(passwd, EncodePasswd string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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