diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2016-08-09 21:07:49 +0200 | 
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2016-10-03 22:09:07 +0200 | 
| commit | 1d40c0f43b366638de16a99a874ce1475249ade0 (patch) | |
| tree | 4342364241a0eba7660784b8a89c2b64380b1a4c /phpBB/phpbb/passwords/driver/driver_interface.php | |
| parent | 7bb4e88acdb0f45f8bfbad74b558db65524cbe1a (diff) | |
| download | forums-1d40c0f43b366638de16a99a874ce1475249ade0.tar forums-1d40c0f43b366638de16a99a874ce1475249ade0.tar.gz forums-1d40c0f43b366638de16a99a874ce1475249ade0.tar.bz2 forums-1d40c0f43b366638de16a99a874ce1475249ade0.tar.xz forums-1d40c0f43b366638de16a99a874ce1475249ade0.zip | |
[ticket/14733] Support increasing hashing cost factor
PHPBB3-14733
Diffstat (limited to 'phpBB/phpbb/passwords/driver/driver_interface.php')
| -rw-r--r-- | phpBB/phpbb/passwords/driver/driver_interface.php | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/phpBB/phpbb/passwords/driver/driver_interface.php b/phpBB/phpbb/passwords/driver/driver_interface.php index 3974484f13..6a660b80ea 100644 --- a/phpBB/phpbb/passwords/driver/driver_interface.php +++ b/phpBB/phpbb/passwords/driver/driver_interface.php @@ -30,6 +30,14 @@ interface driver_interface  	public function is_legacy();  	/** +	 * Check if password needs to be rehashed +	 * +	 * @param string $hash Hash to check for rehash +	 * @return bool True if password needs to be rehashed, false if not +	 */ +	public function needs_rehash($hash); + +	/**  	* Returns the hash prefix  	*  	* @return string	Hash prefix | 
