Using passwords and Encryption

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
hoburne
Posts: 40
Joined: Tue Oct 04, 2011 11:13 am

Using passwords and Encryption

Post by hoburne » Tue Mar 19, 2013 10:01 am

Hi all,

I need a couple of pointers (and probably a better understanding of LC in general!).

I have been asked to write a basic iOS app that uploads a picture taken on the phone. Very simple. However, the app must use a pre-existing username and password to login.
They are stored in a mySQL DB table as text, getting access to them is no problem but - how can I use LC to decode the MD5 created by PHP?

I know a couple of the passwords but when I use MD5Digest the strings do not compare. I'm clearly missing something - any pointers?

Thanks!

hoburne
Posts: 40
Joined: Tue Oct 04, 2011 11:13 am

Re: Using passwords and Encryption

Post by hoburne » Tue Mar 19, 2013 11:04 am

No worries - I got it. Thanks anyway.

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Using passwords and Encryption

Post by Klaus » Tue Mar 19, 2013 1:41 pm

Hi hoborne,

I think it would be a VERY good idea to share you "got it", if possible :D


Best

Klaus

Post Reply