Documentation
¶
Overview ¶
Package hmac implements the functions, types, and interfaces for the module.
Package hmac implements the functions, types, and interfaces for the module.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func NewHMAC ¶ added in v0.3.18
func NewHMAC(algType types.Type, config *types.Config) (interfaces.Cryptographic, error)
NewHMAC creates a new HMAC crypto instance
Types ¶
type ConfigValidator ¶
type ConfigValidator struct {
SaltLength int
}
type HMAC ¶
type HMAC struct {
// contains filtered or unexported fields
}
HMAC implements the HMAC hashing algorithm
func (*HMAC) HashWithSalt ¶
HashWithSalt implements the hash with salt method
Click to show internal directories.
Click to hide internal directories.