mcEncrypt
Fraser Gordon
fraser.gordon at runrev.com
Sat Jan 11 19:40:36 EST 2014
Hi Mark,
I believe that the "password" property returns empty if there isn't a
password or true if there is - the password itself is never returned for
security reasons (imagine a useful plugin with a password-harvesting
trojan...). Engine-wise, there is a "key" property that is very similar
but I don't know if it is exposed to scripts - it should return true if
unlocked (i.e no password or correct password has been entered) and
false otherwise.
Regards,
Fraser
On 11/01/2014 23:14, Mark Schonewille wrote:
> Hi,
>
> According to the Dictionary, one has to use mcEncrypt to check if a
> user entered the correct password in the ask password dialog window.
> Unfortunately, the mcEncrypt function has been removed from the
> engine. Also, ask password no longer returns an encrypted string.
>
> Is there any documentation about mcEncrypt being removed? I checked
> the release notes, but I see no mention of changes in mcEncrypt nor in
> the ask password command.
>
> --
> Best regards,
>
> Mark Schonewille
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
> colour spaces. http://www.color-converter.com
>
> Buy my new book "Programming LiveCode for the Real Beginner"
> http://qery.us/3fi
>
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list