commit 742fccf09045e32b77891d096130a781943e1e2f
parent 841739521c57e7259b0913586ff146424aafdc9a
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Mon, 20 Dec 2021 02:07:53 +0100
zkl updates
Diffstat:
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml
@@ -238,7 +238,8 @@
]]></artwork>
</figure>
<t>
- For the string representation of the "zid", we use the Crockford Base32
+ The string representation of the Zone ID is called the Zone Key Label (zkl).
+ It is derived from the Zone ID using the Crockford Base32
encoding <xref target="CrockfordB32"/> but we decode the letter "U" to
the same Base32 value as the letter "V" in order to further increase
tolerance for failures in character recognition.
@@ -291,21 +292,22 @@ Value Symbol Symbol
The Base32-Crockford Alphabet Including the Additional U Encode Symbol.
</t>
<t>
- For the string representation of a "zid" we
- define:
+ For the string representation of a Zone ID we define:
</t>
<artwork name="" type="" align="left" alt=""><![CDATA[
zkl := StringEncode(zid)
zid := StringDecode(zkl)
]]></artwork>
<t>
- If "zkl" is less than 63 characters, it is also the "zTLD".
- If the resulting "zkl" should be longer than 63 characters, the
- string must be divided into smaller labels separated by the label
- separator ".". Here, the most significant bytes of the "zid" must be contained
- in the rightmost label of the resulting string and the least significant
- bytes in the leftmost label of the resulting string. For example,
- assuming a "zkl" of 130 characters, the encoding would be:
+ If zkl is less than 63 characters, it can directly be
+ used as a Zone Top-Level Domain (zTLD).
+ If the resulting Zone Key Label is be longer than 63 characters, the
+ zTLD is constructed by dividing zkl into smaller labels separated by the
+ label separator ".".
+ Here, the most significant bytes of the "zid" must be contained
+ in the rightmost label of the resulting string and the least significant
+ bytes in the leftmost label of the resulting string. For example,
+ assuming a zkl of 130 characters, the encoding would be:
</t>
<artwork name="" type="" align="left" alt=""><![CDATA[
zTLD := zkl[126:129].zkl[63:125].zkl[0:62]