Versions in this module Expand all Collapse all v0 v0.2.0 Nov 15, 2024 v0.1.0 Oct 6, 2024 Changes in this version + var ErrHashUnavailable = errors.New("hmac: requested hash function is unavailable") + type HMAC struct + func New(key []byte, hash crypto.Hash) (*HMAC, error) + func (h HMAC) Sign(message []byte) ([]byte, error) + func (h HMAC) Verify(message []byte, signature []byte) (bool, error)