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 Snapshot0 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 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. |