Difference between revisions of "LlXorBase64Strings"

From Second Life Wiki
Jump to navigation Jump to search
m (LSL llXorBase64Strings moved to LlXorBase64Strings: removing prefix)
(No difference)

Revision as of 17:07, 20 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 );