hmac

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package hmac contains utilities for dealing with HMAC checksums.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(input gather.Bytes, secret []byte, output *gather.WriteBuffer)

Append computes HMAC-SHA256 checksum for a given block of bytes and appends it.

func VerifyAndStrip

func VerifyAndStrip(input gather.Bytes, secret []byte, output *gather.WriteBuffer) error

VerifyAndStrip verifies that given block of bytes has correct HMAC-SHA256 checksum and strips it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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