Structs§
- A calculated signature value. This is a type-safe wrappper that discourages attempts at comparing signatures for equality, which might naively be done using a non-constant-time comparison.
- A key to use for HMAC signing.
- A key to use for HMAC authentication.
Functions§
- Calculate the HMAC of
data
usingkey
. - Calculate the HMAC of
data
usingkey
and verify it corresponds to the provided signature. - Equivalent to
verify
but allows the consumer to pass aSigningKey
.