password

package
v0.0.0-...-688b8c7 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashAndSalt

func HashAndSalt(password string) string

HashAndSalt is used to hash and salt a password with bcrypt.

func Validate

func Validate(hash, password string) bool

Validate is used to validate the specified password hash is the same as the password.

Types

This section is empty.

Jump to

Keyboard shortcuts

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