Versions in this module Expand all Collapse all v1 v1.0.0 Sep 9, 2017 Changes in this version + func ValidateParams(hash string, keySize uint32, tagSize uint32) error + type Hmac struct + HashFunc func() hash.Hash + Key []byte + TagSize uint32 + func New(hashAlg string, key []byte, tagSize uint32) (*Hmac, error) + func (h *Hmac) ComputeMac(data []byte) ([]byte, error) + func (h *Hmac) VerifyMac(mac []byte, data []byte) (bool, error)