Scripting Nightmares


Scripting Nightmares

Ever since I’ve been able to get the XTEA scheme to produce the same was as other implementations on the internet, I have been hard at work converting it to read and write direct to base64 strings. An XTEA implementation needs a message to have a byte count with a multiple of eight. Base64 needs a multiple of three. Given that the original message that a user has doesn’t have an enforced byte count, and that UTF-8 can add extra bytes to represent different characters, this just adds to the complexity. I decided to just write the length of the original message in the header of the encrypted message. I’m still having dreams over how to read and overwrite integers (4 bytes) in a base64 stream.

Woodbridge (101, 68) - Feb 10, 2008 (285 days ago) by Dedric Mauriac

Tags for this Snapshot

4 add adds base64 byte bytes characters complexity converting count decided direct dreams encrypted enforced extra hard header implementation implementations integers internet length message multiple nightmares original overwrite produce read represent scheme scripting stream strings user utf8 woodbridge work write xtea

Leave a Comment

You're not logged in. If you want to post a comment, please log in.