pass

package
v0.0.0-...-9a10ecf Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BcrpytPassword

func BcrpytPassword(password string) (string, error)

BcrpytPassword returns a hashed password using bcrypt and an error.

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

CheckPasswordHash returns a bool if a password matches its brcrypt hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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