Encrypt on mobile

Jan Schenkel janschenkel at yahoo.com
Tue Jan 1 14:57:49 EST 2013

Thanks for the feedback, Mark - but I wasn't looking for an external solution :-)
What I mainly wanted to know was how the mobile standalone apps cope with the 'cipherNames' property and 'encrypt' command as "industrial strength encryption" is missing. I don't have mobile deployment options so I can't check this for myself.


Jan Schenkel.
Quartam Reports & PDF Library for LiveCode

"As we grow older, we grow both wiser and more foolish at the same time."  (La Rochefoucauld)

 From: Mark Talluto <userev at canelasoftware.com>
To: How to use LiveCode <use-livecode at lists.runrev.com> 
Sent: Tuesday, January 1, 2013 7:11 PM
Subject: Re: Encrypt on mobile

On Jan 1, 2013, at 8:34 AM, Jan Schenkel <janschenkel at yahoo.com> wrote:

> Hi all,
> Working on permissions and password protection for Quartam PDF Library, and I have a need for RC4 encryption at 40 bits.
> Actually, I do have a working plain LiveCode implementation by now, but the 'encrypt' command can do it too and is much faster.
> Here's the rub: I read in the release notes for the mobile versions that "industrial strength encryption" is not supported.
> So here's a few questions for the iOS/Android developers on the list:
> - does a script with 'the cipherNames' or 'encrypt' in it still work, or does it fail to compile? 
> - does 'the cipherNames' return empty or does it generate an error?
> - does the 'encrypt' command return an error in 'the result' or does it generate an error?
> An example of a simple test script:
> ##
> on mouseUp
>   put "plain text" into tData
>   put "dakey" into tKey -- 40 bits = 5 bytes
>   if "rc4-40,40" is among the lines of the cipherNames then
>     encrypt tData using "rc4-40" with key tKey
>     if the result is not empty then
>       answer error the result
>     else
>       answer information "RC4-40 returned:" && it
>     end if
>   else
>     answer information "RC4-40 not available"
>   end if
> end mouseUp
> ##
> Thanks in advance for the feedback!
> Jan Schenkel.
> =====
> Quartam Reports & PDF Library for LiveCode
> www.quartam.com

Monte has an external for doing AES encryption. It works on iOS for the moment. 

Mark Talluto

use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list