Sujet : Re: base26 Encoder/Decoder
De : pollux (at) *nospam* tilde.club (Stefan Claas)
Groupes : sci.cryptDate : 25. Apr 2024, 16:37:40
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <v0dtc5$276id$1@i2pn2.org>
References : 1 2
Cri-Cri wrote:
On Fri, 19 Jan 2024 21:05:20 +0100, Stefan Claas wrote:
if you like the Diana Cryptosystem and want to use it with a foreign
language, on an offline Computer, you may find my base26 Encoder/Decoder
useful.
Found a Python version:
https://pypi.org/project/base26/#files
Example:
import base26
base26.encode(b'test')
'EWJILIG'
base26.decode('EWJILIG')
b'test'
I now have a Rust Version, derived from the Python library and
it encodes 'test' with the same result, but when encoding with
Rust, the Python code can not decode properly, while decoding
from Python with Rust works. Oh, well ... :-(
(Wish I was a Programmer!)
-- RegardsStefan