crypto

package
v1.5.5 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrPasswordInvalid = errors.New("invalid password")
)

Functions

func CompareBCryptHash

func CompareBCryptHash(hash, password string) error

func MakeBCryptHash

func MakeBCryptHash(password string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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