package
Version:
v1.16.1
Opens a new window with list of versions in this module.
Published: Jan 3, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package digest includes common digest helpers
-
func HMAC(in string, key []byte) (string, error)
-
func HMACInt(in int, key []byte) (string, error)
-
func HMACInt64(in int64, key []byte) (string, error)
-
func HMACUint(in uint, key []byte) (string, error)
-
func HMACUint64(in uint64, 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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.