crypto

package
v0.0.0-...-a9e4aaf Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: ISC Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword

func ComparePassword(password, hash string) (bool, error)

ComparePassword : Check if a plaintext password matches the salted hash

func GenUUID

func GenUUID() string

func GeneratePassword

func GeneratePassword(password string) (string, error)

GeneratePassword : Create a salted hash from a plaintext password

Types

This section is empty.

Jump to

Keyboard shortcuts

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