This repo provides a Go implementation of the HPKE primitive proposed for discussion at CFRG.
https://tools.ietf.org/html/draft-irtf-cfrg-hpke
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