Back to Top

How to generate Joomla encrypted Password

Updated 11 March 2014

A. Generate a password
B. Generate a string with 32 random characters
C. Concatenate Password (Step A) and RandomString (Step B)
D. Take md5(Result of Step C)
E. store Step D Result : Step B Result

/******************CODE*************************************/

$password=125454578454;
jimport(‘joomla.user.helper’);
$salt = JUserHelper::genRandomPassword(32);
$password = $password.$salt;
$password= md5($password);
$wk_random_password_final=$password.’:’.$salt;

/******************CODE*************************************/

Start your headless eCommerce
now.
Find out More
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Back to Top

Message Sent!

If you have more details or questions, you can reply to the received confirmation email.

Back to Home