hmac

package
v1.5.83 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2020 License: BSD-3-Clause Imports: 6 Imported by: 7

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