crypto

package
v0.0.0-...-1d2c3bc Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePasswords

func ComparePasswords(hashedPwd string, plainPwd []byte) bool

func CreateToken

func CreateToken(username string) (string, error)

func HashAndSalt

func HashAndSalt(pwd []byte) string

func ValidateToken

func ValidateToken(tokenString string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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