Documentation ¶ Index ¶ type HMAC func HMACHash[H hash.Hash](hmacFun HmacFunc[H], data string) HMAC[string, H] func (h HMAC[T, H]) HashString() (str string) func (h *HMAC[T, H]) Scan(value interface{}) error func (h HMAC[T, H]) Value() (driver.Value, error) type HmacFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type HMAC ¶ type HMAC[T any, H hash.Hash] struct { // contains filtered or unexported fields } func HMACHash ¶ func HMACHash[H hash.Hash](hmacFun HmacFunc[H], data string) HMAC[string, H] func (HMAC[T, H]) HashString ¶ func (h HMAC[T, H]) HashString() (str string) func (*HMAC[T, H]) Scan ¶ func (h *HMAC[T, H]) Scan(value interface{}) error func (HMAC[T, H]) Value ¶ func (h HMAC[T, H]) Value() (driver.Value, error) type HmacFunc ¶ type HmacFunc[h hash.Hash] func() (h, error) Source Files ¶ View all Source files hmac.go Click to show internal directories. Click to hide internal directories.