21 lines
766 B
Markdown
21 lines
766 B
Markdown
# odoh-go
|
|
|
|
[](https://coveralls.io/github/cloudflare/odoh-go?branch=master)
|
|
[](https://godoc.org/github.com/cloudflare/odoh-go)
|
|
|
|
This library implements draft -03 of [Oblivious DoH](https://tools.ietf.org/html/draft-pauly-dprive-oblivious-doh-03). It is based on the original implementation [available here](https://github.com/chris-wood/odoh).
|
|
|
|
## 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
|
|
```
|