bcryptx

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GeneratePassword

func GeneratePassword(raw string) (string, error)

func Init

func Init(opts ...Opt)

func ValidatePassword

func ValidatePassword(hashed, origin string) bool

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

type Opt

type Opt func(*Config)

func WithCost

func WithCost(cost int) Opt

Jump to

Keyboard shortcuts

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