aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/crypto/driver/interface.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/crypto/driver/interface.php')
-rw-r--r--phpBB/includes/crypto/driver/interface.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/includes/crypto/driver/interface.php b/phpBB/includes/crypto/driver/interface.php
index b8383bda5a..9686aa33de 100644
--- a/phpBB/includes/crypto/driver/interface.php
+++ b/phpBB/includes/crypto/driver/interface.php
@@ -50,7 +50,19 @@ interface phpbb_crypto_driver_interface
/**
* Check the password against the supplied hash
*
+ * @param string $password The password to check
+ * @param string $hash The password hash to check against
* @return bool True if password is correct, else false
*/
public function check($password, $hash);
+
+ /**
+ * Get only the settings of the specified hash
+ *
+ * @param string $hash Password hash
+ * @param bool $full Return full settings or only settings
+ * related to the salt
+ * @return string String containing the hash settings
+ */
+ public function get_settings_only($hash, $full = false);
}