hmac

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 3 Imported by: 0

README

hmac

Documentation

Overview

Package hmac - verify hmac signature

Index

Constants

This section is empty.

Variables

View Source
var NotEqual = xerrors.New("mac is not equal")

NotEqual - MAC is not equal

Functions

This section is empty.

Types

type Verifier

type Verifier interface {
	Do(message, messageMAC []byte) error
}

Verifier - verifier

func NewVerifier

func NewVerifier(secretKey []byte) Verifier

NewVerifier - constructor

Directories

Path Synopsis
Package hmacmock is a generated GoMock package.
Package hmacmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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