GO-2022-0270: Insufficient Granularity of Access Control in github.com/google/exposure-notifications-verification-server
package
Version:
v0.23.1
Opens a new window with list of versions in this module.
Published: Mar 15, 2021
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.