bitXor 8 bytes of data

Neil Allan neil at
Wed Dec 9 03:38:50 EST 2009

OK since It's getting technical I will post a couple of code snippets I have 
tried, when I get a minute at work, I will also post some real world values 
I am trying to xor.


----- Original Message ----- 
From: "Alex Tweedly" <alex at>
To: "How to use Revolution" <use-revolution at>
Sent: Wednesday, December 09, 2009 12:04 AM
Subject: Re: bitXor 8 bytes of data

> Neil Allan wrote:
>> Does anyone have a way of doing a "simple" bitwise xor  with two 8 byte 
>> signed floating point numbers?
>> I believe the revTalk bitXor command can only accept non signed 
>> "numbers".
>> I have tried performing the bitXor byte by byte on the two strings using 
>> the byteToNum() function on each byte individually but the result is 
>> quite different to what one would get banging the hex equivalent of the 
>> string into "calculator" on windows.
>> Calculator gives me the correct answer. I set it to hex mode then just 
>> type in the 8 bytes of hex, hit xor, type in the other hex string and "="
>> Any Ideas?
> bitXor() will do what you want. Can you show a more complete code
> fragment (including the data you used) and we'll see if it's something
> about how you're setting the data up ?
> Thanks
> -- Alex.
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:


No virus found in this incoming message.
Checked by AVG -
Version: 8.5.426 / Virus Database: 270.14.98/2552 - Release Date: 12/08/09 

More information about the Use-livecode mailing list