Registry / crypto / ericlagergren-polyval

ericlagergren-polyval

JSON →
library0.0.0-20230805202542-18692a1b76f9gogounverified

A Go implementation of the POLYVAL universal hash function as specified in RFC 8452 for AES-GCM-SIV.

go get github.com/ericlagergren/polyval
INSTALL
IMPORT
SIG · ERICLAGERGREN-POLY
E
ericlagergren-polyval
cryptogov0.0.0-20230805202542-18692a1b76f9
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.

polyval
github.com/ericlagergren/polyval

Computes the POLYVAL tag for given key and data.

package main import ( "fmt" "github.com/ericlagergren/polyval" ) func main() { key := make([]byte, 16) data := []byte("Hello, world!") tag := polyval.Sum(key, data) fmt.Printf("POLYVAL tag: %x\n", tag) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20230805202542-18692a1b76f9latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Resources
ericlagergren-polyval — go get ericlagergren-polyval · libregistry