passwords

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const BcryptCost = 7

Variables

This section is empty.

Functions

func Create

func Create(data []byte) *apierr.ApiError

func IsCorrect

func IsCorrect(hashedPassword []byte, password string) bool

func ValidatePWD

func ValidatePWD(username, password string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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