Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v0dtc5$276id$1@i2pn2.org>
Deutsch   English   Français   Italiano  
<v0dtc5$276id$1@i2pn2.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: Stefan Claas <pollux@tilde.club>
Newsgroups: sci.crypt
Subject: Re: base26 Encoder/Decoder
Date: Thu, 25 Apr 2024 17:37:40 +0200
Organization: i2pn2 (i2pn.org)
Message-ID: <v0dtc5$276id$1@i2pn2.org>
References: <uoekm1$3rhsc$1@i2pn2.org>
	<g74JN.751237$mUo.609280@fx08.ams4>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 25 Apr 2024 15:37:41 -0000 (UTC)
Injection-Info: i2pn2.org;
	logging-data="2333261"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="uWi4uQdALkj7ETOfPbhNXfz0+Ra/gM5z6/Fa40dJi9U";
X-Spam-Checker-Version: SpamAssassin 4.0.0
Finger: tilde.club/~pollux/
Bytes: 1548
Lines: 29

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!)

-- 
Regards
Stefan