Documentation ¶
Overview ¶
Package hmac implements the Keyed-Hash Message Authentication Code (HMAC) computation functions.
An HMAC is a cryptographic hash that uses a key to sign a message. The receiver verifies the hash by recomputing it using the same key.
The computed HMAC is represented as an hash.(Imprint).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Hasher ¶
type Hasher struct {
// contains filtered or unexported fields
}
Hasher is the message authentication computation object.
func (*Hasher) BlockSize ¶
BlockSize returns the size of the data block the underlying hash algorithm operates upon in bytes.
Click to show internal directories.
Click to hide internal directories.