security

package
v0.0.0-...-5b64ff3 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash, salt string) bool

CheckPasswordHash validates password based on hash and salt.

func SaltedHash

func SaltedHash(password string) (hash string, salt string, err error)

SaltedHash returns a salted hash + salt from plain string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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