pass

package
v0.0.0-...-91e0860 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword

func ComparePassword(userPassword []byte, dtoPassword string) error

func HashPassword

func HashPassword(password string) ([]byte, error)

func RandChar

func RandChar(length int) (string, error)

func RandCharNum

func RandCharNum(length int) (string, error)

func RandCharUpper

func RandCharUpper(length int) (string, error)

func RandUlid

func RandUlid() string

func Random

func Random() (password string, hashedpassword string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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