Re: base26 Encoder/Decoder

Liste des GroupesRevenir à s crypt 
Sujet : Re: base26 Encoder/Decoder
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.crypt
Date : 16. Mar 2024, 21:13:03
Autres entêtes
Organisation : Chiffrepunks
Message-ID : <ut4ugf$23pnb$1@i2pn2.org>
References : 1 2 3 4
Cri-Cri wrote:

On Sat, 16 Mar 2024 14:30:45 +0100, Stefan Claas wrote:
 
$ echo -n 'test' | base26 MEXDLEME
 
I guess there is no defined standard (RFC) for base26, maybe I am
wrong.
 
There ought to be. But, of course, maybe none of the math heads
thinking these things through have returned with the verdict from
their round table meeting yet? ;)
 
Not sure what either of you guys used, but this page:
https://www.dcode.fr/base-26-cipher
...claims there are two ways to start: A=0 or A=1
 
Maybe that?
 
He has a "machine" on his site you can compare things with. But it
returns the result in numeric Base26, not as encoded letters:
 
this here is a test
338902 126182 226 0 337135

I saw that french page and ys it uses digits as output, which I don not
want, because of using my output (from Unicode chars) for the Diana
Cryptosystem.
 
Also, Python starts its arrays/lists with 0 for the first item where
some other languages use 1. I have no idea what "Go" (was it?) uses.

Yes, it is Go Code and starts at 0.
 
If I get a little free time I'll probably check the Python module
against that page (linked above). It was fairly short.
 
 
I've been fiddling with the HC-9 cipher that came out of that handy
little machine the Swedish military used up until around 1995-ish.
I've got some info about that coding from that site, it is very
informative. So I'm currently all "ciphered out" and I want to spend
some time with some other things for a while. :)

HC-9, must admit, never heart of it but sounds interesting. I have to
read about it.

--
Stefan



Date Sujet#  Auteur
16 Mar 24 * Re: base26 Encoder/Decoder2Stefan Claas
16 Mar 24 `- Re: base26 Encoder/Decoder1Stefan Claas

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal