httpauth

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePassword added in v0.10.0

func ComparePassword(password string, hashedPass []byte) error

func ConvertToBase64

func ConvertToBase64()

func GenerateKey added in v0.11.0

func GenerateKey(key []byte) []byte

generating a 64 bytes key. why? see the function signMessage

func HashPassword added in v0.10.0

func HashPassword(password string) (hashedPass []byte, 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