Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SignFunc ¶
SignFunc computes a signature for a given msg using HMAC-SHA256.
func CreateSignFunc ¶
CreateSignFunc creates a new `hmacsha256.SignFunc` function with the given signing key.
type ValidateFunc ¶
ValidateFunc validates a given msg against the previously computed signature using HMAC-SHA256.
func CreateValidateFunc ¶
func CreateValidateFunc(key []byte) ValidateFunc
CreateValidateFunc creates a new `hmacsha256.ValidateFunc` function with the given signing key.
Click to show internal directories.
Click to hide internal directories.