Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-22 Thread Peter W A Wood
Many thanks to Roger Eller, Jan Schenkel, Bill Vlahos and Paul Hibbert (off list) for helping me identify and workaround the issues I encountered. Paul pointed out three things: I didn't the use "the text of Field ..."; how to overcome not being able to copy text from a field in an OS X standalo

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-20 Thread Peter W A Wood
Bill Thanks, I took a look at your Encryption Demo Stack which works correctly both in the IDE and as a standalone. It does look as though the problem that I'm hitting is due to the limitations of a field and not the encryption functions. I will continue to investigate. Regards Peter On 20

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Bill Vlahos
Peter, I don’t know why it would be different in the IDE vs a standalone but I wouldn’t expect it to work correctly working with fields. There are limitations of what can be in a field. I wrote the “Encryption Demo Stack” in RevOnLine that works both compiled and in the IDE. It puts the encryp

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Peter W A Wood
Many thanks to Jan for the helpful suggestions with which I have improved the code. Unfortunately, it didn't solve the problem. I have cut down the code so that the encryption uses only a plaintext password, no sha1 hashing, no salt and no initial value. Thanks to Jan's Base64 encoding suggesti

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Jan Schenkel
& PDF Library for LiveCode www.quartam.com = "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) On Wed, 2/19/14, J. Landman Gay wrote: Subject: Re: Encryption / Encoding Differences betw

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Jan Schenkel
d, 2/19/14, Peter W A Wood wrote: Subject: Encryption / Encoding Differences between IDE and OS X Standalone To: "How to use LiveCode" Date: Wednesday, February 19, 2014, 6:19 PM I've written a very simple stack to encrypt or decrypt some text. There are two fields (In and Out)

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread J. Landman Gay
On February 19, 2014 8:42:18 PM CST, Roger Eller wrote: >I had that problem when testing 6.6 DP1 encryption on Android. For my >situation, it was the platform specific ssl & encryption checbox. I've been waiting for encryption on Android for a very long time. Does this mean I can't encrypt o

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Roger Eller
Right. My tests were on Android, where the new encryption external must be checked. And again, that is in 6.6 DP1. So, I don't know what to suggest. May be a bug. ~Roger On Feb 19, 2014 10:40 PM, "Peter W A Wood" wrote: > Hi Roger > > On 20 Feb 2014, at 10:42, Roger Eller wrote: > > > I had

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Peter W A Wood
Hi Roger On 20 Feb 2014, at 10:42, Roger Eller wrote: > I had that problem when testing 6.6 DP1 encryption on Android. For my > situation, it was the platform specific ssl & encryption checbox. I can't see any platform specific lib checkboxes for OS X. > Which version are you using? LiveCod

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Roger Eller
I had that problem when testing 6.6 DP1 encryption on Android. For my situation, it was the platform specific ssl & encryption checbox. Which version are you using? On Feb 19, 2014 9:28 PM, "Peter W A Wood" wrote: > Roger > > I'm pretty certain that I did. The first time I build the standalon

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Peter W A Wood
Roger I'm pretty certain that I did. The first time I build the standalone, I used the "search for ..." option. The second time I specifically included the ssl & encryption lib. Regards Peter http://LiveCode1001.blogspot.com On 20 Feb 2014, at 10:23, Roger Eller wrote: > In standalone appli

Re: Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Roger Eller
In standalone application settings, are you including ssl & encryption? ~Roger On Feb 19, 2014 9:20 PM, "Peter W A Wood" wrote: > I've written a very simple stack to encrypt or decrypt some text. There > are two fields (In and Out) and two buttons (Encrypt and Decrypt). When I > encrypt test in

Encryption / Encoding Differences between IDE and OS X Standalone

2014-02-19 Thread Peter W A Wood
I've written a very simple stack to encrypt or decrypt some text. There are two fields (In and Out) and two buttons (Encrypt and Decrypt). When I encrypt test in the IDE and then paste the encrypted text from the Out field to the In field and then decrypt it, I get the back the original text. Bu