Registry / crypto / alexellis-hmac

alexellis-hmac

JSON →
library1.3.0gogounverified

Provides HMAC signing and verification utilities for Go applications.

go get github.com/alexellis/hmac
INSTALL
IMPORT
SIG · ALEXELLIS-HMAC
A
alexellis-hmac
cryptogov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

hmac
github.com/alexellis/hmac

Sign a message with HMAC

package main import ( "fmt" "github.com/alexellis/hmac" ) func main() { key := []byte("secret") data := []byte("message") sig := hmac.Sign(data, key) fmt.Printf("Signature: %x\n", sig) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
38 hits · last 30 days
node
34
Resources
alexellis-hmac — go get alexellis-hmac · libregistry