crypto

package
v0.0.0-...-819b816 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2020 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