Re: base26 Encoder/Decoder

Liste des GroupesRevenir à s crypt 
Sujet : Re: base26 Encoder/Decoder
De : klee (at) *nospam* unibwm.de (Herbert Kleebauer)
Groupes : sci.crypt
Date : 28. Apr 2024, 11:50:21
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v0l9lf$10knh$1@dont-email.me>
References : 1 2 3 4 5 6 7 8
User-Agent : Mozilla Thunderbird
On 28.04.2024 10:12, Stefan Claas wrote:

So, in the end people are free to choose which base26 approach they like to use,
because there is no standard, like an RFC, available.
But base26 doesn't make much sense. How big are the chunks of the
data input stream you encode in base26? If you encode each byte,
you need 2 digits for the byte, which is the same as base16 (hex format).
The same is true for 2 and 3 byte chunks (4 and 6 digits). Starting
with 4 byte chunks you can save one digit (7 instead of 8 for hex).
The next step is at 7 byte chunks (12 instead of 14 digits for hex).
But this is also the biggest size which you can handle with 64 bit
arithmetic. Starting with 11 byte chunks you can save 3 digits (19
instead of 22 for hex), but this already requires long number
arithmetic.
So, if you can't use base32 at least, better stay at base16 (hex format)
instead of base26. There is only a small advantage in size, but a big
disadvantage in computing time and you have to cope with padding if the
message length is not a multiple of the chunk length.

Date Sujet#  Auteur
25 Apr 24 * Re: base26 Encoder/Decoder22Stefan Claas
25 Apr 24 `* Re: base26 Encoder/Decoder21Stefan Claas
25 Apr 24  +* Re: base26 Encoder/Decoder3Stefan Claas
26 Apr 24  i`* Re: base26 Encoder/Decoder2Stefan Claas
26 Apr 24  i `- Re: base26 Encoder/Decoder1Stefan Claas
27 Apr 24  `* Re: base26 Encoder/Decoder17Stefan Claas
28 Apr 24   `* Re: base26 Encoder/Decoder16Stefan Claas
28 Apr 24    +- Re: base26 Encoder/Decoder1Stefan Claas
28 Apr 24    `* Re: base26 Encoder/Decoder14Herbert Kleebauer
28 Apr 24     `* Re: base26 Encoder/Decoder13Stefan Claas
28 Apr 24      +- Re: base26 Encoder/Decoder1Stefan Claas
28 Apr 24      `* Re: base26 Encoder/Decoder11Herbert Kleebauer
28 Apr 24       +- Re: base26 Encoder/Decoder1Stefan Claas
28 Apr 24       `* Re: base26 Encoder/Decoder9Stefan Claas
29 Apr 24        `* Re: base26 Encoder/Decoder8Stefan Claas
30 Apr 24         `* Re: az - Telefax/OCR Test (was: base26 Encoder/Decoder)7Stefan Claas
30 Apr 24          `* Re: az - Telefax/OCR Test6Herbert Kleebauer
1 May 24           `* Re: az - Telefax/OCR Test5Stefan Claas
1 May 24            `* Re: az - Telefax/OCR Test4Herbert Kleebauer
2 May 24             `* Re: az - Telefax/OCR Test3Stefan Claas
4 May 24              `* Re: az - Telefax/OCR Test2Stefan Claas
4 May 24               `- Re: az - Telefax/OCR Test1Stefan Claas

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal