utils

package
v0.0.0-...-8232506 Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateBcryptHash

func GenerateBcryptHash(input []byte) ([]byte, error)

GenerateBcryptHash generates the bcrypt hash of input with a cost of 10

func GenerateUUID

func GenerateUUID() string

GenerateUUID generates a RFC compliant unique ID

func IsHashValid

func IsHashValid(hash, plain []byte) bool

IsHashValid checks whether hash is calid for plain

Types

This section is empty.

Jump to

Keyboard shortcuts

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