cross-platform compress & decompress

Mark Brownell gizmotron at earthlink.net
Wed Dec 3 20:06:24 EST 2003


On Wednesday, December 3, 2003, at 02:58  PM, Wouter wrote:

> You're really on to the fast track :^)
> Hope to see your results soon.
>
> Greetings,
> WA


What you are looking at is the old ECB (electronic code book) version. 
I added my own version of CBC (Cypher Block Chaining) to make it even 
more difficult to decrypt. I have it broken down into three parts now. 
The S1, S2, S3, S4, & Sp boxes are created and stored in globals so 
that encrypt & decrypt can run faster without having to re-initialize 
the boxes before using them. These boxes could be called from 
internally saved property arrays for use with a pre-fixed encryption 
key. This allows for different initialization vectors for CBC for each 
call. Isn't that fun?

mb



More information about the use-livecode mailing list