Difference between revisions of "LlXorBase64Strings"

From Second Life Wiki
Jump to navigation Jump to search
m (LSL llXorBase64Strings moved to LlXorBase64Strings: removing prefix)
(sort)
Line 3: Line 3:
|func_id=262
|func_id=262
|func_sleep=0.3
|func_sleep=0.3
|sort=XorBase64StringsCorrect
|func_energy=10.0
|func_energy=10.0
|func=llXorBase64Strings
|func=llXorBase64Strings

Revision as of 15:38, 23 February 2007

Summary

Function: string llXorBase64Strings( string s1, string s2 );

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
All Issues ~ Search JIRA for related Bugs

Examples

See Also

Deep Notes

Search JIRA for related Issues

Signature

function string llXorBase64Strings( string s1, string s2 );