Re: Idea for a slow block cipher with adjustable block length

From: Antti Louko (alo_at_iki.fi.invalid)
Date: 04/02/05


Date: 02 Apr 2005 19:56:57 +0300

Antti Louko <alo@iki.fi.invalid> writes:

> The result is now at
> <URL:http://www.louko.com/alo/feistel-0.3.py>.

There was a bug in the F function calculation. So please use the
newer version <URL:http://www.louko.com/alo/feistel-0.4.py>.

I also added another kind of algorithm where the permutation is not
in [0 .. n^2-1] but in [0 .. m*m-1]. The XOR is replaced with
addition or subtraction and the binary and by mod function.

This could be useful in mapping decimal serial numbers if one wants to
keep the number space in range 0..99, 0..9999 etc.


Quantcast