bcrypt

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password string, hash string) bool

CheckPasswordHash checks if the password matches the hash

func HashPassword

func HashPassword(password string) (string, error)

HashPassword hashes a password using bcrypt

func IsHashed

func IsHashed(str string) bool

IsHashed checks if the password is hashed IsHashed checks if a string is a bcrypt hash

Types

This section is empty.

Jump to

Keyboard shortcuts

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