eta

package
v0.0.0-...-5201481 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2017 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Latest holds the value of the latest version of eta
	Latest = 1
)

Variables

This section is empty.

Functions

func Hash

func Hash(password string, version int) (h, s []byte, v int, e error)

Hash returns a new hash and salt for a given password

func Verify

func Verify(password string, salt, passhash []byte, version int) bool

Verify checks to see if the hash of the given password and salt matches the provided passhash

Types

This section is empty.

Jump to

Keyboard shortcuts

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