password

package
v0.0.0-...-2389199 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(hash HashString, password string) error

func GenerateApiSecret

func GenerateApiSecret(length int) (string, error)

Types

type HashString

type HashString string

HashString is used to represent a string containing a password hash

func HashPassword

func HashPassword(password string) (HashString, error)

Jump to

Keyboard shortcuts

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