// HmacSha256 returns a hmac sha256 hash of a string
HmacSha256 returns a hmac sha256 hash of a string
// HmacSha256 returns a hmac sha256 hash of a string
func HmacSha256(str string, key string) string {
	hasher := hmac.New(sha256.New, []byte(key))
	hasher.Write([]byte(str))
	return hex.EncodeToString(hasher.Sum(nil))
}
func HmacSha256 ( str string , key string ) string { hasher := hmac . New ( sha256 . New , [ ] byte ( key ) ) hasher . Write ( [ ] byte ( str ) ) return hex . EncodeToString ( hasher . Sum ( nil ) ) }
HmacSha256 returns a hmac sha256 hash of a string
HmacSha256 returns a hmac sha256 hash of a string