Forums

which encryption algorithm used in joomla..

thirupathy 11 Mar, 2009
hi all am new to joomla. I need to create new user in joomla site. for this process am using following php code..

mysql_query("insert into jos_users(.......,"password",....));

after executing this query using articles its create one new user at jos_users table. after new user creation am trying to login. but it shows password wrong.

that's my problem. so i need to find out which type of algorithm used in joomla. can i create new user using above query..? if possible please tell me.


thanks in advance,

regards,

THIRUPATHY.M
GreyHead 22 Apr, 2009
Hi thirupathy,

I strongly suggest that you don't rewrite registration code from scratch. There are Joomla functions to handle this; and the ChronoForms cf_joomla registration plugin makes use of them.

That said, Joomla stores an MD5 encrypted version of the password (i'm not sure if it's salted by default or not).

Bob
This topic is locked and no more replies can be posted.