crypto

package
v0.0.0-...-fe735be Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 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

ComparePasswords ...

func CreateToken

func CreateToken(username string) (string, error)

CreateToken ...

func HashAndSalt

func HashAndSalt(pwd []byte) string

HashAndSalt ...

func ValidateToken

func ValidateToken(tokenString string) bool

ValidateToken ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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