phpBB

Development Wiki

Difference between revisions of "Function.phpbb hash"

From phpBB Development Wiki

m
(phpBB Password Hash)
Line 1: Line 1:
 
==phpBB Password Hash==
 
==phpBB Password Hash==
phBB password are hashed with phpBB's own custom function! The use of this function is very simple
+
phpBB passwords 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','');
Line 11: Line 11:
 
--[[User:Alex.prisoner|Alex.prisoner]] 22:59, 20 November 2008 (UTC)
 
--[[User:Alex.prisoner|Alex.prisoner]] 22:59, 20 November 2008 (UTC)
  
 +
--[[User:Dam-ien|Dam-ien]] 18:54, 09 November 2009
  
 
==See Also==
 
==See Also==

Revision as of 02:55, 10 November 2009

phpBB Password Hash

phpBB passwords 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)

--Dam-ien 18:54, 09 November 2009

See Also