The path to encryption


The path to encryption

Now that I’m looking into methods of encryption data for real (and ignoring XOR encryption), the first thing that that I needed to do was to get the ASCII values for each character in my message. LSL does not provide a direct way to do this. Instead, I got around it with the base64 methods. I first encode text to base64 with llStringToBase64. I manually decode the base64 string into a list of bytes (from 0 to 255). I do the reverse when converting bytes back to text. I encode each set of 3 bytes into base64, and then I use the LSL llBase64ToString to return the text value of the bytes. The scripts are free for anyone who is intersted. They are setting with all the other freebies in my shop.

Woodbridge (86, 25) - Jan 3, 2008 (334 days ago) by Dedric Mauriac

Tags for this Snapshot

0 255 3 ascii back base64 bytes character converting data decode direct encode encryption free freebies ignoring intersted list llbase64tostring llstringtobase64 lsl manually message methods needed path provide real return reverse scripts set setting shop string text thing values woodbridge xor

Leave a Comment

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