verification

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const SignatureHeader = "x-signature-ed25519"
View Source
const TimestampHeader = "x-signature-timestamp"

Variables

This section is empty.

Functions

func VerifyHttpRequest added in v1.0.1

func VerifyHttpRequest(publicKey string, request *http.Request) (bool, error)

func VerifySignature added in v1.0.1

func VerifySignature(publicKey string, signature string, timestamp string, body string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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