Rer: Decrypt problem on Windows solved

Bob Sneidar bobsneidar at iotecdigital.com
Tue Dec 22 16:17:03 EST 2020


I get a user entered password and encrypt it before storing it. It works cross platform. I suppose it would depend on what is in the original string. For instance option-v produces a checkmark on a Mac, but NOT on a PC and I assume Linux. Normal ASCII-256 characters should work fine.

Bob S


On Dec 14, 2020, at 2:56 PM, Neville Smythe via use-livecode <use-livecode at lists.runrev.com<mailto:use-livecode at lists.runrev.com>> wrote:

Could you try to textEncode the encrypted data before saving it in the
custom property, and then, in the other platform, textDecode it before
decrypting it?

Many thanks Panos, yes, that fixed the problem.

It never occurred to me that reading binary data from the custom properties of a stack should be treated with same caveat as downloading from an external source. Todays “learnings” (horrible newly fashionable word).

Neville Smythe



More information about the use-livecode mailing list