• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1340
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Scouse Linden
Reporter: Psyke Phaeton
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Mono: llXorBase64StringsCorrect() will not compile. llXorBase64Strings() does.

Created: 30/Jan/08 02:46 AM   Updated: 06/Mar/08 03:41 PM
Return to search
Component/s: Scripts
Affects Version/s: Mono Beta
Fix Version/s: None

Environment:
Second Life 1.18.6 (77968) Jan 29 2008 11:48:51 (Second Life Release)

You are at 255873.0, 255361.4, 21.8 in Sandbox Cordova MONO located at sim3000.aditi.lindenlab.com (8.2.33.226:12035)
Mono 1.18.6.77968

CPU: Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Memory: 2026 MB
OS Version: Linux 2.6.22-14-generic #1 SMP Tue Dec 18 08:02:57 UTC 2007 i686
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 7950 GT/PCI/SSE2
OpenGL Version: 2.1.1 NVIDIA 100.14.19
LLMozLib Version: 1.1.0 (Mozilla GRE:1.8.0.12_0000000000)
Packets Lost: 1/64858 (0.0%)
Viewer Digest: 330da4af-15ff-65a2-22dc-47907679cd20
Issue Links:
Relates
 

Linden Lab Issue ID: DEV-9849
Linden Lab Internal Branch: mono-based-on-77880


 Description  « Hide
Mono: llXorBase64StringsCorrect() will not compile. llXorBase64Strings() does.

default {
state_entry() { string data = "I like bananas."; // the data we want to encrypt string pass = "monkey"; // the encryption key string crypt; // for storing the encrypted data // convert both data and key to base64 and encrypt the data with the key // then store the encrypted data in 'crypt' crypt = llXorBase64StringsCorrect(llStringToBase64(data), llStringToBase64(pass)); llSay(0, crypt); // this could now be used to email the data around // someone without the correct key wouldn't be able to (easily) get the plaintext // decrypt it again, using the same key, and convert back to plaintext llSay(0, llBase64ToString(llXorBase64StringsCorrect(crypt, llStringToBase64(pass)))); // as you can see, applying the same key to encrypted data again decrypts it }
}



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Psyke Phaeton made changes - 30/Jan/08 02:48 AM
Field Original Value New Value
Link This issue Relates to SVC-1276 [ SVC-1276 ]
Babbage Linden made changes - 30/Jan/08 04:53 AM
Priority Normal [ 4 ] Major [ 3 ]
lindenrobot made changes - 31/Jan/08 04:22 PM
Linden Lab Issue ID DEV-9849
Scouse Linden made changes - 05/Feb/08 01:32 AM
Status Open [ 1 ] Fix Pending [ 10001 ]
Linden Lab Internal Branch mono-based-on-77880
Assignee Scouse Linden [ Scouse Linden ]
Periapse Linden made changes - 06/Mar/08 03:27 PM
Status Fix Pending [ 10001 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Periapse Linden made changes - 06/Mar/08 03:40 PM
Link This issue is related to by SVC-1276 [ SVC-1276 ]
Periapse Linden made changes - 06/Mar/08 03:41 PM
Link This issue Relates to SVC-1276 [ SVC-1276 ]
Sue Linden made changes - 13/Nov/08 12:09 PM
Workflow jira-2007-12-22a [ 51581 ] jira-2008-11-14 [ 82136 ]
Sue Linden made changes - 13/Nov/08 04:40 PM
Workflow jira-2008-11-14 [ 82136 ] jira-2008-11-14a [ 90197 ]