code: func genMAC(message, key []byte, hashFunc func() hash.Hash) []byte {
  	mac := hmac.New(hashFunc, key)
  	mac.Write(message)
  	return mac.Sum(nil)
  }
docs: // genMAC generates the HMAC signature for a message provided the secret key
  // and hashFunc.