package hmac

Import Path
	crypto/hmac (on golang.org and go.dev)

Dependency Relation
	imports 2 packages, and imported by 3 packages

Involved Source Files
	d-> hmac.go

Exported Type Names

	(none)
Exported Values

func Equal(mac1, mac2 []byte) bool Equal compares two MACs for equality without leaking timing information.
func New(h func() hash.Hash, key []byte) hash.Hash New returns a new HMAC hash using the given hash.Hash type and key. Note that unlike other hash implementations in the standard library, the returned Hash does not implement encoding.BinaryMarshaler or encoding.BinaryUnmarshaler.