bcrypt

package
v0.0.0-...-830a97e Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bcrypt

type Bcrypt struct{}

Bcrypt implements password hashing algorithm interface

func (Bcrypt) CheckHash

func (Bcrypt) CheckHash(pswd, hash string) bool

CheckHash compare matching with given password and hash with bcrypt algorithm

func (Bcrypt) DoHash

func (Bcrypt) DoHash(pswd string) (pswdHash string)

DoHash hash given password string with bcrypt algorithm

Jump to

Keyboard shortcuts

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