password

package
v0.0.0-...-e7d9688 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHashPassword

func GetHashPassword(password string) (string, error)

SetPassword sets cryptographically secure string to `model.Password`.

func ValidatePassword

func ValidatePassword(passwordHash, password string) error

ValidatePassword validates a plain password against the model's password.

Types

This section is empty.

Jump to

Keyboard shortcuts

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