phpBB

Development Wiki

Difference between revisions of "Function.phpbb hash"

From phpBB Development Wiki

(phpBB password hashing is easy)
 
(phpBB Password Hash)
Line 2: Line 2:
 
phBB password are hashed with phpBB's own custom function! The use of this function is very simple
 
phBB password are hashed with phpBB's own custom function! The use of this function is very simple
  
<php>$password = request_var('password','');
+
<php>$password = request_var('password','');
 
$password_hash = phpbb_hash($password);
 
$password_hash = phpbb_hash($password);
 
trigger_error('The password that was entered is hashed as:<hr/>'.$password_hash);
 
trigger_error('The password that was entered is hashed as:<hr/>'.$password_hash);
 
</php>
 
</php>
 +
 +
Hope this was helpful~
 +
 
--[[User:Alex.prisoner|Alex.prisoner]] 22:59, 20 November 2008 (UTC)
 
--[[User:Alex.prisoner|Alex.prisoner]] 22:59, 20 November 2008 (UTC)

Revision as of 23:00, 20 November 2008

phpBB Password Hash

phBB password are hashed with phpBB's own custom function! The use of this function is very simple

$password request_var('password','');
$password_hash phpbb_hash($password);
trigger_error('The password that was entered is hashed as:<hr/>'.$password_hash);

Hope this was helpful~

--Alex.prisoner 22:59, 20 November 2008 (UTC)