diff options
author | Marc Alexander <admin@m-a-styles.de> | 2013-10-11 13:34:15 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2013-10-11 13:34:15 +0200 |
commit | da39707d16500d18ca642587cb08958a3c09369c (patch) | |
tree | 258341c064b6661d40ec72bfb174bb3ff447664b /phpBB/includes/functions.php | |
parent | ce51f878eb8ced7d79fb6aadc1ad831fbf73a66e (diff) | |
download | forums-da39707d16500d18ca642587cb08958a3c09369c.tar forums-da39707d16500d18ca642587cb08958a3c09369c.tar.gz forums-da39707d16500d18ca642587cb08958a3c09369c.tar.bz2 forums-da39707d16500d18ca642587cb08958a3c09369c.tar.xz forums-da39707d16500d18ca642587cb08958a3c09369c.zip |
[feature/passwords] Mark old hashing functions as deprecated
PHPBB3-11610
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 953c0a3b1c..06fa307614 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -368,33 +368,13 @@ function still_on_time($extra_time = 15) } /** +* Hash the password * -* @version Version 0.1 / slightly modified for phpBB 3.1.x (using $H$ as hash type identifier) -* -* Portable PHP password hashing framework. -* -* Written by Solar Designer <solar at openwall.com> in 2004-2006 and placed in -* the public domain. -* -* There's absolutely no warranty. -* -* The homepage URL for this framework is: -* -* http://www.openwall.com/phpass/ -* -* Please be sure to update the Version line if you edit this file in any way. -* It is suggested that you leave the main version number intact, but indicate -* your project name (after the slash) and add your own revision information. -* -* Please do not change the "private" password hashing method implemented in -* here, thereby making your hashes incompatible. However, if you must, please -* change the hash type identifier (the "$P$") to something different. -* -* Obviously, since this code is in the public domain, the above are not -* requirements (there can be none), but merely suggestions. +* @deprecated 3.1.0-a2 (To be removed: 3.3.0) * +* @param string $password Password to be hashed * -* Hash the password +* @return string Password hash or false if something went wrong during hashing */ function phpbb_hash($password) { @@ -407,6 +387,8 @@ function phpbb_hash($password) /** * Check for correct password * +* @deprecated 3.1.0-a2 (To be removed: 3.3.0) +* * @param string $password The password in plain text * @param string $hash The stored password hash * |