phpBB

Development Wiki

Difference between revisions of "Function.phpbb hash"

From phpBB Development Wiki

(See Also)
m (Fixed link to phpbb_check_hash)
 
(7 intermediate revisions by 4 users not shown)
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==
 +
*[[Function.phpbb_check_hash|phpbb_check_hash]]
 
*[[request_var]]
 
*[[request_var]]
 
*[[trigger_error]]
 
*[[trigger_error]]
 
*[[user_add]]
 
*[[user_add]]
 
<br><br>
 
<br><br>
[[Category:Functions_user]]
+
'''Changelog'''
 +
    * 22091109 - edited to revise a few things.
 +
    * 15020110 - Added "PHPBB Hash Check function" @ See Also
  
[[ja:User_add]]
+
<br><br>
 +
[[Category:Functions]]
 +
 
 +
[[ja:Function.phpbb_hash]]

Latest revision as of 23:44, 24 March 2014

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



Changelog

   * 22091109 - edited to revise a few things.
   * 15020110 - Added "PHPBB Hash Check function" @ See Also