aboutsummaryrefslogtreecommitdiff
path: root/doc/api.md
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-10-12 18:11:06 +0200
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2021-10-12 18:11:06 +0200
commit077ccbda4009969b300186eb2f32e117bee49ee6 (patch)
tree0d02c027f53ebb2fc00e54e12279e17e71064da4 /doc/api.md
parenteb9c77ee3581b0e07c100e05070c1629e20d1f8b (diff)
defined what type of hex encoding is permitted
Diffstat (limited to 'doc/api.md')
-rw-r--r--doc/api.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api.md b/doc/api.md
index af2c9b6..e6b0c41 100644
--- a/doc/api.md
+++ b/doc/api.md
@@ -43,10 +43,10 @@ resistant instead of one.
### 2.2 - Serialization
Log requests and responses are transmitted as ASCII-encoded key/value
pairs, for a smaller dependency than an alternative parser like JSON.
-Some input and output data is binary: cryptographic hashes and
-signatures. Binary data must be base16-encoded, also known as hex
-encoding. Using hex as opposed to base64 is motivated by it being
-simpler, favoring ease of decoding and encoding over efficiency on the wire.
+Some input and output data is binary: cryptographic hashes and signatures.
+Binary data must be lower-case base16-encoded, also known as lower-case hex
+encoding. Using hex as opposed to base64 is motivated by it being simpler,
+favoring ease of decoding and encoding over efficiency on the wire.
We use the [Trunnel](https://gitweb.torproject.org/trunnel.git)
[description language](https://www.seul.org/~nickm/trunnel-manual.html)