@@ -14,8 +14,8 @@ discard block |
||
14 | 14 | |
15 | 15 | namespace Dcrypt; |
16 | 16 | |
17 | -final class OpensslKeyGenerator |
|
18 | -{ |
|
17 | +final class OpensslKeyGenerator |
|
18 | +{ |
|
19 | 19 | private $hash; |
20 | 20 | private $algo; |
21 | 21 | private $ivr; |
@@ -28,8 +28,8 @@ discard block |
||
28 | 28 | * @param string $ivr |
29 | 29 | * @param int $cost |
30 | 30 | */ |
31 | - public function __construct(string $algo, string $pass, string $cipher, string $ivr, int $cost) |
|
32 | - { |
|
31 | + public function __construct(string $algo, string $pass, string $cipher, string $ivr, int $cost) |
|
32 | + { |
|
33 | 33 | // |
34 | 34 | $this->hash = \hash_pbkdf2($algo, ($pass . $cipher), $ivr, $cost, 0, true); |
35 | 35 |