aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2013-10-11 09:43:30 +0200
committerMarc Alexander <admin@m-a-styles.de>2013-10-11 09:43:30 +0200
commitce51f878eb8ced7d79fb6aadc1ad831fbf73a66e (patch)
tree847c707b3fa86fa76583fe4a031d44c0adf49221 /phpBB/phpbb/passwords
parent[feature/passwords] Fix tests for 8th bit characters in bcrypt on PHP < 5.3.7 (diff)
downloadphpbb-ce51f878eb8ced7d79fb6aadc1ad831fbf73a66e.tar.gz
phpbb-ce51f878eb8ced7d79fb6aadc1ad831fbf73a66e.tar.bz2
phpbb-ce51f878eb8ced7d79fb6aadc1ad831fbf73a66e.zip
[feature/passwords] Add phpass copyright notice to salted md5 driver
PHPBB3-11610
Diffstat (limited to 'phpBB/phpbb/passwords')
-rw-r--r--phpBB/phpbb/passwords/driver/salted_md5.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/phpBB/phpbb/passwords/driver/salted_md5.php b/phpBB/phpbb/passwords/driver/salted_md5.php
index c44da540a6..bccf61dc07 100644
--- a/phpBB/phpbb/passwords/driver/salted_md5.php
+++ b/phpBB/phpbb/passwords/driver/salted_md5.php
@@ -18,6 +18,34 @@ if (!defined('IN_PHPBB'))
}
/**
+*
+* @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.
+*
+*/
+
+/**
* @package passwords
*/
class salted_md5 extends \phpbb\passwords\driver\base