digest

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package digest includes common digest helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HMAC

func HMAC(in string, key []byte) (string, error)

HMAC returns the sha1 HMAC of a given string as a hex-encoded string, and any errors that occur while hashing.

func HMACInt

func HMACInt(in int, key []byte) (string, error)

func HMACInt64

func HMACInt64(in int64, key []byte) (string, error)

func HMACUint

func HMACUint(in uint, key []byte) (string, error)

func HMACUint64

func HMACUint64(in uint64, key []byte) (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