This file contains hidden or 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
function new_registration($username, $email, $password, $confirmation_code) | |
{ | |
// Store the new user's information in the database. | |
$key = $this->config->item('encryption_key'); | |
$salt1 = hash('sha512', $key . $password); | |
$salt2 = hash('sha512', $password . $key); | |
$hashed_password = hash('sha512', $salt1 . $password . $salt2); |
This file contains hidden or 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 | |
/** | |
* @author Daniel Robenek | |
* @license MIT | |
* @since 2011 | |
*/ | |
namespace Debug; |
NewerOlder