Documentation ¶ Index ¶ type HMAC func HMACHash[H hash.Hash](hmacFunc HmacFunc[H], data string) HMAC[string, H] func (h HMAC[T, H]) Hash() To[T, 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 type To func (t To[T, H]) ToBytes() []byte func (t To[T, H]) ToLast8DigitValue() string func (t To[T, H]) ToString() string 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](hmacFunc HmacFunc[H], data string) HMAC[string, H] func (HMAC[T, H]) Hash ¶ added in v1.3.1 func (h HMAC[T, H]) Hash() To[T, 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) type To ¶ added in v1.3.1 type To[T any, H hash.Hash] struct { // contains filtered or unexported fields } func (To[T, H]) ToBytes ¶ added in v1.3.1 func (t To[T, H]) ToBytes() []byte func (To[T, H]) ToLast8DigitValue ¶ added in v1.3.1 func (t To[T, H]) ToLast8DigitValue() string func (To[T, H]) ToString ¶ added in v1.3.1 func (t To[T, H]) ToString() string Source Files ¶ View all Source files hmac.go Click to show internal directories. Click to hide internal directories.