hash

package
v0.0.0-...-4e4842a Latest Latest
Warning

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

Go to latest
Published: May 4, 2016 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareWithHash

func CompareWithHash(hashPassword []byte, stringPassword string) bool

CompareWithHash compares a hash and a string password

func CreateFromPassword

func CreateFromPassword(password string) string

func HashBytes

func HashBytes(stringPassword []byte) ([]byte, error)

HashBytes hashes a string using bcrypt with default cost

Types

This section is empty.

Jump to

Keyboard shortcuts

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