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 Snapshot4 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 CommentYou're not logged in. If you want to post a comment, please log in. |
Snapshots NearbyHere are some other snapshots from this area:
Send in your snapshotsTo send in your own snapshots, simply send them as postcards to pics@slbuzz.com directly from within Second Life. You don't even need to be an SLBuzz member! So give it a shot! If you want to, we can even crosspost them to your flickr account automagically—simply link your SLBuzz account with flickr, and send snapshots to flickr@slbuzz.com. |