Re: Need help with my C to LiveCode skills

2015-12-17 Thread Richard Gaskin

Mark Wieder wrote:

> On 12/16/2015 12:56 PM, Todd Fabacher wrote:
>> Sorry to bother the list, but I don't know how to do Xor in
>> LiveCode.
>
> As mentioned, the bitXor operator is what you want.
> But I can't say much for that as an encryption algorithm unless
> you're looking for simple symmetric encryption/decryption.

Agreed.  I included this quote in my reply to the forum thread at 
:


"XOR is trivial to break, requiring seconds at most, whereas DES takes 
hours to crack, and Blowfish would take us past the expected lifetime of 
the sun."


...from this article, which also includes tips on cracking XOR'd ciphertext:


If at all possible it would be both simpler to code and far more secure 
to just rely on LC's built-in encrypt and decrypt functions, which 
provide access to 100 industrial-strength algos like Blowfish, AES-256, 
and more.


--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 
 ambassa...@fourthworld.comhttp://www.FourthWorld.com


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Need help with my C to LiveCode skills

2015-12-17 Thread Mike Kerner
also, have you looked up the "encrypt" command?


On Wed, Dec 16, 2015 at 8:13 PM, Mark Wieder  wrote:

> On 12/16/2015 12:56 PM, Todd Fabacher wrote:
>
>> Sorry to bother the list, but I don't know how to do Xor in LiveCode. I
>>
>
> As mentioned, the bitXor operator is what you want.
> But I can't say much for that as an encryption algorithm unless you're
> looking for simple symmetric encryption/decryption.
>
> --
>  Mark Wieder
>  ahsoftw...@gmail.com
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Need help with my C to LiveCode skills

2015-12-16 Thread Todd Fabacher
Sorry to bother the list, but I don't know how to do Xor in LiveCode. I
have an app deadline of this week and I can't figure now to do a byte Xor
conversion. We converted an Objective C app to LiveCode, I have done ALL of
the code except a small encryption function. I can't figure how to convert
using LiveCode. Any help would be appreciated. Here is the code:

http://forums.livecode.com/viewtopic.php?f=32=26115


Best,

Todd
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Need help with my C to LiveCode skills

2015-12-16 Thread dunbarx
Hi.


Does the native "bitXOR" do the trick? See the dictionary.


Craig Newman



-Original Message-
From: Todd Fabacher <tfabac...@gmail.com>
To: Use-livecode Use-livecode <use-livecode@lists.runrev.com>
Sent: Wed, Dec 16, 2015 3:57 pm
Subject: Need help with my C to LiveCode skills

Sorry to bother the list, but I don't know how to do Xor in LiveCode. I
have an app deadline of this week and I can't figure now to do a byte Xor
conversion. We converted an Objective C app to LiveCode, I have done ALL of
the code except a small encryption function. I can't figure how to convert
using LiveCode. Any help would be appreciated. Here is the code:

http://forums.livecode.com/viewtopic.php?f=32=26115


Best,

Todd
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Need help with my C to LiveCode skills

2015-12-16 Thread Colin Holgate
According to the dictionary, it’s number bitXor number.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Need help with my C to LiveCode skills

2015-12-16 Thread Mark Wieder

On 12/16/2015 12:56 PM, Todd Fabacher wrote:

Sorry to bother the list, but I don't know how to do Xor in LiveCode. I


As mentioned, the bitXor operator is what you want.
But I can't say much for that as an encryption algorithm unless you're 
looking for simple symmetric encryption/decryption.


--
 Mark Wieder
 ahsoftw...@gmail.com

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode