|
|
||
|---|---|---|
| .. | ||
| LICENSE | ||
| README.md | ||
| crypto.go | ||
| format_vectors.py | ||
| go.mod | ||
| go.sum | ||
| hpke.go | ||
| test-vectors.json | ||
README.md
HPKE
This repo provides a Go implementation of the HPKE primitive proposed for discussion at CFRG.
https://tools.ietf.org/html/draft-irtf-cfrg-hpke
Test vector generation
To generate test vectors, run:
$ HPKE_TEST_VECTORS_OUT=test-vectors.json go test -v -run TestVectorGenerate
To check test vectors, run:
$ HPKE_TEST_VECTORS_IN=test-vectors.json go test -v -run TestVectorVerify