Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | /** |
| 3 | * |
| 4 | * This file is part of the phpBB Forum Software package. |
| 5 | * |
| 6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
| 7 | * @license GNU General Public License, version 2 (GPL-2.0) |
| 8 | * |
| 9 | * For full copyright and license information, please see |
| 10 | * the docs/CREDITS.txt file. |
| 11 | * |
| 12 | */ |
| 13 | |
| 14 | namespace phpbb\passwords\driver; |
| 15 | |
| 16 | interface rehashable_driver_interface extends driver_interface |
| 17 | { |
| 18 | /** |
| 19 | * Check if password needs to be rehashed |
| 20 | * |
| 21 | * @param string $hash Hash to check for rehash |
| 22 | * @return bool True if password needs to be rehashed, false if not |
| 23 | */ |
| 24 | public function needs_rehash($hash); |
| 25 | } |