Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class PBEKDF1 extends PBEKDF |
||
15 | { |
||
16 | /** |
||
17 | * Hash functor. |
||
18 | * |
||
19 | * @var HashFunc |
||
20 | */ |
||
21 | protected $_hashFunc; |
||
22 | |||
23 | /** |
||
24 | * Constructor. |
||
25 | * |
||
26 | * @param HashFunc $hashfunc |
||
27 | */ |
||
28 | 10 | public function __construct(HashFunc $hashfunc) |
|
31 | 10 | } |
|
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | 11 | public function derive(string $password, string $salt, int $count, |
|
49 |