hmac

package
v1.16.27 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: BSD-2-Clause-Patent Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(h func() hash.Hash, message, key []byte, signature string) bool

Validate checks the hmac signature of the mssasge using a hex encoded signature.

func ValidatePrefix

func ValidatePrefix(message, key []byte, signature string) bool

ValidatePrefix checks the hmac signature of the message using the message prefix to determine the signing algorithm.

Types

This section is empty.

Jump to

Keyboard shortcuts

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