I\'m trying to create a custom registration component for Joomla, and I was wondering if anyone knew how to create the correct password encryption for joomla? Joomla passwor
$salt = JUserHelper::genRandomPassword(32);
$crypt = JUserHelper::getCryptedPassword("yourpassword", $salt);
$password = $crypt.':'.$salt;
After a bit more searching i found my answer, thanks guys for your help :)
EDIT: I forgot to mention that you need to include this line before calling JUserHelper:
jimport('joomla.user.helper');