// Generated by Lisette bindgen
// Source: crypto/hmac (Go stdlib)
// Go: 1.25.10
// Lisette: 0.3.0

import "go:hash"

/// Equal compares two MACs for equality without leaking timing information.
pub fn Equal(mac1: Slice<byte>, mac2: Slice<byte>) -> bool

/// New returns a new HMAC hash using the given [hash.Hash] type and key.
/// New functions like [crypto/sha256.New] can be used as h.
/// h must return a new Hash every time it is called.
/// Note that unlike other hash implementations in the standard library,
/// the returned Hash does not implement [encoding.BinaryMarshaler]
/// or [encoding.BinaryUnmarshaler].
pub fn New(h: fn() -> hash.Hash, key: Slice<byte>) -> hash.Hash
