hmac

package
v0.0.0-...-afe0a0c Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(mac1, mac2 []byte) bool

func New

func New(h func() hash.Hash, key []byte) hash.Hash

func NewWithFilePattern

func NewWithFilePattern(pattern string, h func() hash.Hash, key []byte) hash.Hash

Types

type InterposedHMAC

type InterposedHMAC struct {
	// contains filtered or unexported fields
}

func (InterposedHMAC) BlockSize

func (i InterposedHMAC) BlockSize() int

func (InterposedHMAC) Reset

func (i InterposedHMAC) Reset()

func (InterposedHMAC) Size

func (i InterposedHMAC) Size() int

func (InterposedHMAC) Sum

func (i InterposedHMAC) Sum(b []byte) []byte

func (InterposedHMAC) Write

func (i InterposedHMAC) Write(data []byte) (int, error)

Jump to

Keyboard shortcuts

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