security

package
v0.0.0-...-a35bd06 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHashAndPassword

func CompareHashAndPassword(hash, password string) error

CompareHashAndPassword compares a storaged password hash with the a provided password, returns error if fail, or nil if they match

func GenerateHash

func GenerateHash(password string) (string, error)

GenerateHash generates a hash from the password informed, or error if fail

Types

This section is empty.

Jump to

Keyboard shortcuts

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