cloudflared-mirror/vendor/github.com/cloudflare/odoh-go
Tanya Verma e3b1f5b7d0 Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
..
LICENSE.md Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
README.md Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
codec.go Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
go.mod Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
messages.go Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
odoh.go Add Oblivious DoH support 2020-12-07 02:52:41 -08:00
test-vectors.json Add Oblivious DoH support 2020-12-07 02:52:41 -08:00

README.md

odoh-go

Coverage Status GoDoc

This library implements draft -03 of Oblivious DoH. It is based on the original implementation available here.

Test vector generation

To generate test vectors, run:

$ ODOH_TEST_VECTORS_OUT=test-vectors.json go test -v -run TestVectorGenerate

To check test vectors, run:

$ ODOH_TEST_VECTORS_IN=test-vectors.json go test -v -run TestVectorVerify