func applyHmac()

in sigv4/internal/crypt.go [74:78]


func applyHmac(data string, hashSecret []byte) []byte {
	h := hmac.New(sha256.New, hashSecret)
	h.Write([]byte(data))
	return h.Sum(nil)
}