hmacx

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL