crypto

package
v0.0.0-...-3dd2d23 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(hash, password string) bool

CheckPasswordHash compares a bcrypt hash to a password

func HashPassword

func HashPassword(password string) (string, error)

HashPassword returns the bcrypt hash of the password

func Secret

func Secret() string

Secret is a generated secret key used for OAuth2.

Types

This section is empty.

Jump to

Keyboard shortcuts

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