[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lsd0001] branch master updated: zkl updates
From: |
gnunet |
Subject: |
[lsd0001] branch master updated: zkl updates |
Date: |
Mon, 20 Dec 2021 02:07:57 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository lsd0001.
The following commit(s) were added to refs/heads/master by this push:
new 742fccf zkl updates
742fccf is described below
commit 742fccf09045e32b77891d096130a781943e1e2f
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Mon Dec 20 02:07:53 2021 +0100
zkl updates
---
draft-schanzen-gns.xml | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml
index d7cc681..3a9f06f 100644
--- 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]
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lsd0001] branch master updated: zkl updates,
gnunet <=