Sha256: 1f73591de337dd8af676eeb70a720d1baa00392ca6312ddd0173b2b1c27a59b0
Contents?: true
Size: 252 Bytes
Versions: 32
Compression:
Stored size: 252 Bytes
Contents
package v4 import ( "crypto/hmac" "crypto/sha256" ) // HMACSHA256 computes a HMAC-SHA256 of data given the provided key. func HMACSHA256(key []byte, data []byte) []byte { hash := hmac.New(sha256.New, key) hash.Write(data) return hash.Sum(nil) }
Version data entries
32 entries across 16 versions & 1 rubygems