[math-fun] secret key cryptosystem?
From: Mike Stay <metaweta@gmail.com> To: math-fun <math-fun@mailman.xmission.com> Subject: Re: [math-fun] secret key cryptosystem? Pick some keyed nonlinear function of 64 bits to 64 bits, then do a 500-round Feistel cipher. It's pretty straightforward to get decent secret-key encryption; the tricky part is doing it quickly.
--now you are thinking more like I was thinking. (Albeit 64 bits seems small.) But, has anybody done that sort of thing and done it well? --Also, your other suggestion of ThreeFish is better than AES in the sense that this https://github.com/bmalkow/java-bc-threefish/tree/master/src says it implements it in only 390 lines. Albeit I'd like to get below 100 lines. (Also I want high portability.)
Oh. I see. The best place to ask is the cryptography list: List-Archive: <http://lists.randombit.net/pipermail/cryptography/> List-Post: <mailto:cryptography@randombit.net> List-Subscribe: <http://lists.randombit.net/mailman/listinfo/cryptography>, <mailto:cryptography-request@randombit.net?subject=subscribe> Be specific about wanting a secure, short algorithm rather than existing high-level systems. If it is for academic research, I'd note that too; it should help weed out the 'use something already canned' replies. -JimC -- James Cloos <cloos@jhcloos.com> OpenPGP: 1024D/ED7DAEA6
On Aug 17, 2013 8:32 PM, "Warren D Smith" <warren.wds@gmail.com> wrote:
From: Mike Stay <metaweta@gmail.com> To: math-fun <math-fun@mailman.xmission.com> Subject: Re: [math-fun] secret key cryptosystem? Pick some keyed nonlinear function of 64 bits to 64 bits, then do a 500-round Feistel cipher. It's pretty straightforward to get decent secret-key encryption; the tricky part is doing it quickly.
--now you are thinking more like I was thinking. (Albeit 64 bits seems
small.) In a Feistel cipher, you split the block in half, apply the nonlinear function to one half and xor it with the other, then swap. The block size would be 128 bits.
But, has anybody done that sort of thing and done it well?
--Also, your other suggestion of ThreeFish is better than AES in the sense that this https://github.com/bmalkow/java-bc-threefish/tree/master/src says it implements it in only 390 lines. Albeit I'd like to get below 100 lines. (Also I want high portability.)
_______________________________________________ math-fun mailing list math-fun@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/math-fun
participants (3)
-
James Cloos -
Mike Stay -
Warren D Smith