bcrypt

package
v0.0.0-...-555b434 Latest Latest
Warning

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

Go to latest
Published: May 10, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HashPrefix = []byte{'$', '1', 'b'}
)

Functions

This section is empty.

Types

type Bcrypt

type Bcrypt struct {
}

func (*Bcrypt) Compare

func (b *Bcrypt) Compare(passwordHash, password []byte) error

func (*Bcrypt) Hash

func (b *Bcrypt) Hash(data []byte) (hash []byte, err error)

Jump to

Keyboard shortcuts

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