Difference between revisions of "LlXorBase64Strings"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSLFunctionAll
{{LSL_Function
|depreciated=llXorBase64StringsCorrect
|depreciated=llXorBase64StringsCorrect
|func_id=262
|func_id=262
Line 12: Line 12:
|p2_name=s2
|p2_name=s2
|p2_desc=Base64 string
|p2_desc=Base64 string
|func_footnote=s2 repeats if it is shorter than s1. Retained for backwards compatibility.
|func_footnote='''s2''' repeats if it is shorter than '''s1'''. Retained for backwards compatibility.
|return_text=that is a {{LSLG|Base64}} string of s1 xor'ed with s2.
|return_text=that is a {{LSLG|Base64}} string of s1 xor'ed with s2.
|spec
|spec

Revision as of 08:30, 9 February 2007

Summary

Function: string llXorBase64Strings( string s1, string s2 );
0.3 Forced Delay
10.0 Energy

Returns a string that is a Base64 string of s1 xor'ed with s2.

• string s1 Base64 string
• string s2 Base64 string

s2 repeats if it is shorter than s1. Retained for backwards compatibility.

Caveats

  • This function causes the script to sleep for 0.3 seconds.
  • Incorrectly performs an exclusive or on two Base 64 strings and returns a Base 64 string

Examples

See Also

Deep Notes

Signature

function string llXorBase64Strings( string s1, string s2 );