HP Forums
Very fast modified TEA for HP 48 and up! - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: Very fast modified TEA for HP 48 and up! (/thread-234390.html)



Very fast modified TEA for HP 48 and up! - Raymond Del Tondo - 11-23-2012

Hi all crypto fans amongst the HP 48 - 50g users.

A while ago there was a discussion in news://comp.sys.hp48 [Subject: 48 fast mode on the 50g?] about a modified TEA encryption algo for the Saturn based calcs. The original SysRPL code by Jim Dumas needed ~110 seconds to encrypt a 1000 char string on an HP 48G, and thus left some space for optimisations. I took the challenge and made an ML version, which encrypts 1000 chars in less than a second, on the same machine.
You can get the archive here: CCNT Archive

It includes JD's original SysRPL source, as well as my SysRPL/ML source as text, PDF and binary. The text source is best viewed with an editor supporting monospaced fonts.

Have fun:-)

Ray

Edited: 23 Nov 2012, 8:48 p.m.