Last active
September 26, 2016 06:18
-
-
Save AdamMadrzejewski/5ce3ac3afa1114a71b92 to your computer and use it in GitHub Desktop.
Hashing password with Joomla 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
define('_JEXEC', 1); | |
define('JPATH_BASE', dirname(__FILE__)); | |
require_once(JPATH_BASE . '/includes/defines.php'); | |
require_once(JPATH_BASE . '/includes/framework.php'); | |
echo "<strong>Password: </strong>" . JUserHelper::hashPassword('adam'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment