/hpke

Implementation of draft-irtf-cfrg-hpke

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

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 TestVectorInterop