bcrypt

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: LGPL-3.0 Imports: 1 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{}

func New

func New() Bcrypt

func (Bcrypt) CheckPassword

func (b Bcrypt) CheckPassword(password, hash string) bool

func (Bcrypt) HashPassword

func (b Bcrypt) HashPassword(password string, cost int) (string, error)

Jump to

Keyboard shortcuts

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