I’m trying to decrypt a variable that I’ve encrypted from my web server and haven’t gotten any luck. I’ve encrypted the variable on the site using sha1(variable) in php, but am stuck trying to decrypt it once its passed back to the iphone. If you have any other code other than sha1 that works, im happy with that too. thanks
Share
True, MD5 & SHA1 are one way hash algorithms. If you want to be able to encode and then decode a variable you will need to use the mcrypt functions.