Development Wiki

Function.phpbb check hash

From phpBB Development Wiki

Revision as of 15:03, 2 January 2010 by M0nk3h (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

phpBB Password Hash Check

phpBB passwords are hashed with phpBB's own custom function! Checking against this hash with a human readable password is quite simple:

$hash phpbb_hash("password");
$password "password";
if (
phpbb_check_hash($password$hash)) {
"it matches";
else {
"it doesn't match";

--M0nk3h 15:02, 02 January 2010 (UTC)

See Also