@@ -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 | |
@@ -23,8 +23,8 @@ |
||
| 23 | 23 | * @license http://opensource.org/licenses/MIT The MIT License (MIT) |
| 24 | 24 | * @link https://github.com/mmeyer2k/dcrypt |
| 25 | 25 | */ |
| 26 | -class AesEcb extends AesCbc |
|
| 27 | -{
|
|
| 26 | +class AesEcb extends AesCbc |
|
| 27 | +{ |
|
| 28 | 28 | /** |
| 29 | 29 | * AES-256 cipher identifier that will be passed to openssl |
| 30 | 30 | * |