add methods to decrypt return data from router
[GitHub/Stricted/speedport-hybrid-php-api.git] / CryptLib / Password / Implementation / PHPBB.php
diff --git a/CryptLib/Password/Implementation/PHPBB.php b/CryptLib/Password/Implementation/PHPBB.php
new file mode 100644 (file)
index 0000000..ce108f6
--- /dev/null
@@ -0,0 +1,41 @@
+<?php
+/**
+ * The PHPBB password hashing implementation
+ *
+ * Use this class to generate and validate PHPBB password hashes.
+ *
+ * PHP version 5.3
+ *
+ * @see        http://www.openwall.com/phpass/
+ * @category   PHPCryptLib
+ * @package    Password
+ * @subpackage Implementation
+ * @author     Anthony Ferrara <ircmaxell@ircmaxell.com>
+ * @copyright  2011 The Authors
+ * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
+ * @version    Build @@version@@
+ */
+
+namespace CryptLib\Password\Implementation;
+
+use CryptLib\Random\Factory as RandomFactory;
+
+/**
+ * The PHPBB password hashing implementation
+ *
+ * Use this class to generate and validate PHPBB password hashes.
+ *
+ * @see        http://www.openwall.com/phpass/
+ * @category   PHPCryptLib
+ * @package    Password
+ * @subpackage Implementation
+ * @author     Anthony Ferrara <ircmaxell@ircmaxell.com>
+ */
+class PHPBB extends PHPASS {
+
+    /**
+     * @var string The prefix for the generated hash
+     */
+    protected static $prefix = '$H$';
+
+}
\ No newline at end of file