[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lsd0001] branch master updated: base32gns
From: |
gnunet |
Subject: |
[lsd0001] branch master updated: base32gns |
Date: |
Wed, 09 Feb 2022 13:07:26 +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 417f4f0 base32gns
417f4f0 is described below
commit 417f4f063753a4ad1888012bfefa85cc4794d7d6
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Wed Feb 9 13:07:22 2022 +0100
base32gns
---
draft-schanzen-gns.xml | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml
index 6c7af70..16267db 100644
--- a/draft-schanzen-gns.xml
+++ b/draft-schanzen-gns.xml
@@ -459,7 +459,7 @@
The encoding and decoding symbols for Crockford Base32 including this
modification are defined in
<xref target="CrockfordB32Encode"/>.
The functions for encoding and decoding based on this table are called
- GNSBase32Encode and GNSBase32Decode, respectively.
+ Base32GNS-Encode and Base32GNS-Decode, respectively.
</t>
<figure anchor="CrockfordB32Encode">
<artwork name="" type="" align="left" alt=""><![CDATA[
@@ -500,14 +500,14 @@ Value Symbol Symbol
]]></artwork>
</figure>
<t>
- The Base32-Crockford Alphabet Including the Additional U Encode
Symbol.
+ The Base32GNS Alphabet Including the Additional U Encode Symbol.
</t>
<t>
For the string representation of a zTLD we define:
</t>
<artwork name="" type="" align="left" alt=""><![CDATA[
-zkl := GNSBase32Encode(ztype||zkey)
-ztype||zkey := GNSBase32Decode(zkl)
+zkl := Base32GNS-Encode(ztype||zkey)
+ztype||zkey := Base32GNS-Decode(zkl)
]]></artwork>
<t>
If zkl is less than 63 characters, it can directly be
@@ -2949,17 +2949,18 @@ Purpose | Name | References | Comment
<t>
The following are test vectors for the Base32 variation of a
Crockford Base32 encoding used for zTLDs.
+ The strings are encoded without the zero terminator.
</t>
<artwork name="" type="" align="left" alt="">
<![CDATA[
-GNSBase32Encode:
+Base32GNS-Encode:
Input string: "Hello World"
Output string: "91JPRV3F41BPYWKCCG"
Input bytes: 474e55204e610x6d652053797374656d
Output string: "8X75A82EC5PPA82KF5SQ8SBD"
-GNSBase32Decode:
+Base32GNS-Decode:
Input string: "91JPRV3F41BPYWKCCG"
Output string: "Hello World"
--
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: base32gns,
gnunet <=