password

package
Version: v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare

func Compare(password string, passwordHash string) (bool, error)

func Generate

func Generate(conf *PasswordConfig, password string) (passwordHash string, err error)

func GenerateDefault

func GenerateDefault(password string) (passwordHash string, err error)

Types

type PasswordConfig

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

Source Files

Jump to

Keyboard shortcuts

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