Reputation: 13
As I am doing the webservice for an mobile app for which the site has been developed in joomla 1.5.26 and I need to know how to encrypt the password through webservice for user login.
Upvotes: 0
Views: 812
Reputation: 19733
First of all, well done for using the most recent version of your Joomla series, doesn't happen a lot. Please do consider upgrading to Joomla 2.5+ as 1.5 has security issues and is not supported anymore ;)
I'm not sure about older versions but 1.5+ uses MD5 and Salting.
It's stored in the database like so:
{hash}:{salt}
and can be generated like so:
md5( $password.$salt );
To get a an example of how the password is generated, have a look here
Hope this helps
Upvotes: 1