a5gchecksums

package
v0.0.0-...-35a760b Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const HMACAlgorithm = "sha256"

Variables

View Source
var (
	ErrPayloadEmpty   = errors.New("empty payload")
	ErrSecretKeyEmpty = errors.New("empty secret key")
)

Functions

func NewHMAC

func NewHMAC(toCheck []byte, secretKey string) (string, error)

func NewMD5

func NewMD5(toCheck []byte, secretKey string) (string, error)

func NewMD5Salted

func NewMD5Salted(toCheck []byte, secretKey, checksumSalt string) (
	string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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