Discover Packages
github.com/mitchs-dev/library-go
hmac
package
Version:
v0.0.46
Opens a new window with list of versions in this module.
Published: Jul 17, 2025
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package hmac provides a simple way to verify a message
Original Author: github.com/alexellis
CheckMAC verifies hash checksum
Sign a message with the key and return bytes.
Note: for human readable output see encoding/hex and
encode string functions.
Validate validate an encodedHash taken
from GitHub via X-Hub-Signature HTTP Header.
Note: if using another source, just add a 5 letter prefix such as "sha1="
Source Files
¶
Click to show internal directories.
Click to hide internal directories.