diff options
Diffstat (limited to 'draft-schanzen-gns.xml')
-rw-r--r-- | draft-schanzen-gns.xml | 107 |
1 files changed, 54 insertions, 53 deletions
diff --git a/draft-schanzen-gns.xml b/draft-schanzen-gns.xml index 323cfdd..d3c56c1 100644 --- a/draft-schanzen-gns.xml +++ b/draft-schanzen-gns.xml | |||
@@ -3157,59 +3157,6 @@ Purpose | Name | References | Comment | |||
3157 | 3157 | ||
3158 | </references> | 3158 | </references> |
3159 | <section> | 3159 | <section> |
3160 | <name>Base32GNS</name> | ||
3161 | <t> | ||
3162 | This table defines the encode symbol and decode symbol for a given | ||
3163 | symbol value. | ||
3164 | It can be used to implement the encoding by reading it as: | ||
3165 | A character "A" or "a" is decoded to a 5 bit value 10 when decoding. | ||
3166 | A 5 bit block with a value of 18 is encoded to the character "J" when encoding. | ||
3167 | If the bit length of the byte string to encode is not a multiple of 5 | ||
3168 | it is padded to the next multiple with zeroes. | ||
3169 | In order to further increase tolerance for failures in character | ||
3170 | recognition, the letter "U" <bcp14>MUST</bcp14> be decoded to the same value as the | ||
3171 | letter "V" in Base32GNS. | ||
3172 | </t> | ||
3173 | <figure anchor="CrockfordB32Encode" title="The Base32GNS Alphabet Including the Additional U Encode Symbol."> | ||
3174 | <artwork name="" type="" align="left" alt=""><![CDATA[ | ||
3175 | Symbol Decode Encode | ||
3176 | Value Symbol Symbol | ||
3177 | 0 0 O o 0 | ||
3178 | 1 1 I i L l 1 | ||
3179 | 2 2 2 | ||
3180 | 3 3 3 | ||
3181 | 4 4 4 | ||
3182 | 5 5 5 | ||
3183 | 6 6 6 | ||
3184 | 7 7 7 | ||
3185 | 8 8 8 | ||
3186 | 9 9 9 | ||
3187 | 10 A a A | ||
3188 | 11 B b B | ||
3189 | 12 C c C | ||
3190 | 13 D d D | ||
3191 | 14 E e E | ||
3192 | 15 F f F | ||
3193 | 16 G g G | ||
3194 | 17 H h H | ||
3195 | 18 J j J | ||
3196 | 19 K k K | ||
3197 | 20 M m M | ||
3198 | 21 N n N | ||
3199 | 22 P p P | ||
3200 | 23 Q q Q | ||
3201 | 24 R r R | ||
3202 | 25 S s S | ||
3203 | 26 T t T | ||
3204 | 27 V v U u V | ||
3205 | 28 W w W | ||
3206 | 29 X x X | ||
3207 | 30 Y y Y | ||
3208 | 31 Z z Z | ||
3209 | ]]></artwork> | ||
3210 | </figure> | ||
3211 | </section> | ||
3212 | <section> | ||
3213 | <name>Usage and Migration</name> | 3160 | <name>Usage and Migration</name> |
3214 | <t> | 3161 | <t> |
3215 | This section outlines a number of specific use cases which may | 3162 | This section outlines a number of specific use cases which may |
@@ -3585,6 +3532,60 @@ Host: 000G0037FH3QTBCK15Y8BCCNRVWPV17ZC7TSGB1C9ZG2TPGHZVFV1GMG3W | |||
3585 | 3532 | ||
3586 | </section> | 3533 | </section> |
3587 | <section> | 3534 | <section> |
3535 | <name>Base32GNS</name> | ||
3536 | <t> | ||
3537 | This table defines the encode symbol and decode symbol for a given | ||
3538 | symbol value. | ||
3539 | It can be used to implement the encoding by reading it as: | ||
3540 | A character "A" or "a" is decoded to a 5 bit value 10 when decoding. | ||
3541 | A 5 bit block with a value of 18 is encoded to the character "J" when encoding. | ||
3542 | If the bit length of the byte string to encode is not a multiple of 5 | ||
3543 | it is padded to the next multiple with zeroes. | ||
3544 | In order to further increase tolerance for failures in character | ||
3545 | recognition, the letter "U" <bcp14>MUST</bcp14> be decoded to the same value as the | ||
3546 | letter "V" in Base32GNS. | ||
3547 | </t> | ||
3548 | <figure anchor="CrockfordB32Encode" title="The Base32GNS Alphabet Including the Additional U Encode Symbol."> | ||
3549 | <artwork name="" type="" align="left" alt=""><![CDATA[ | ||
3550 | Symbol Decode Encode | ||
3551 | Value Symbol Symbol | ||
3552 | 0 0 O o 0 | ||
3553 | 1 1 I i L l 1 | ||
3554 | 2 2 2 | ||
3555 | 3 3 3 | ||
3556 | 4 4 4 | ||
3557 | 5 5 5 | ||
3558 | 6 6 6 | ||
3559 | 7 7 7 | ||
3560 | 8 8 8 | ||
3561 | 9 9 9 | ||
3562 | 10 A a A | ||
3563 | 11 B b B | ||
3564 | 12 C c C | ||
3565 | 13 D d D | ||
3566 | 14 E e E | ||
3567 | 15 F f F | ||
3568 | 16 G g G | ||
3569 | 17 H h H | ||
3570 | 18 J j J | ||
3571 | 19 K k K | ||
3572 | 20 M m M | ||
3573 | 21 N n N | ||
3574 | 22 P p P | ||
3575 | 23 Q q Q | ||
3576 | 24 R r R | ||
3577 | 25 S s S | ||
3578 | 26 T t T | ||
3579 | 27 V v U u V | ||
3580 | 28 W w W | ||
3581 | 29 X x X | ||
3582 | 30 Y y Y | ||
3583 | 31 Z z Z | ||
3584 | ]]></artwork> | ||
3585 | </figure> | ||
3586 | </section> | ||
3587 | |||
3588 | <section> | ||
3588 | <name>Test Vectors</name> | 3589 | <name>Test Vectors</name> |
3589 | <t> | 3590 | <t> |
3590 | The following are test vectors for the Base32GNS encoding used for zTLDs. | 3591 | The following are test vectors for the Base32GNS encoding used for zTLDs. |