Difference between revisions of "LlXorBase64StringsCorrect"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func_id=319|func_sleep=0.0|func_energy=10.0
|func_id=319|func_sleep=0.0|func_energy=10.0
|func=llXorBase64StringsCorrect|return_type=string|p1_type=string|p1_name=s1|p2_type=string|p2_name=s2
|func=llXorBase64StringsCorrect|return_type=string
|func_footnote
|p1_type=string|p1_name=str1|p1_desc=Base64 string
|func_desc=Correctly performs an exclusive or on two Base 64 strings and returns a Base 64 string. s2 repeats if it is shorter than s1.0
|p2_type=string|p2_name=str2|p2_desc=Base64 string
|return_text
|func_footnote='''str2''' repeats if it is shorter than '''str1'''. If the inputs are not Base64 strings the result will be erratic.
|func_desc=Correctly performs an exclusive or on two Base 64 strings.
|return_text=that is a Base64 XOR of '''str1''' and '''str2'''.
|spec
|spec
|caveats
|caveats

Revision as of 22:22, 9 February 2007

Summary

Function: string llXorBase64StringsCorrect( string str1, string str2 );

Correctly performs an exclusive or on two Base 64 strings.
Returns a string that is a Base64 XOR of str1 and str2.

• string str1 Base64 string
• string str2 Base64 string

str2 repeats if it is shorter than str1. If the inputs are not Base64 strings the result will be erratic.

Examples

Deep Notes

Search JIRA for related Issues

Signature

function string llXorBase64StringsCorrect( string str1, string str2 );