hmac256

package
v0.0.0-...-21d4feb Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareSignatures

func CompareSignatures(given string, reference string) (bool, error)

CompareSignatures is used to compare given and reference signature using time constant algorithm

func GetSignature

func GetSignature(secret []byte, messages ...[]byte) string

GetSignature returns an HMAC-SHA256 signature encoded in base64

Types

This section is empty.

Jump to

Keyboard shortcuts

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