@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function build($originalKey) |
| 23 | 23 | { |
| 24 | - if(empty($originalKey)) |
|
| 24 | + if (empty($originalKey)) |
|
| 25 | 25 | { |
| 26 | 26 | throw new EmptyKeyException(); |
| 27 | 27 | } |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | $decryptedValue = $decrypter->decrypt($encryptedValue); |
| 14 | 14 | $aesKey = $aesKeyGenerator->build($key); |
| 15 | 15 | printf('Secret: %s' . PHP_EOL, $key); |
| 16 | -printf('Secret hash: %s'.PHP_EOL, $aesKey); |
|
| 16 | +printf('Secret hash: %s' . PHP_EOL, $aesKey); |
|
| 17 | 17 | printf('Value to secure: %s' . PHP_EOL, $valueToSecure); |
| 18 | 18 | printf('Encrypted value: %s' . PHP_EOL, $encryptedValue); |
| 19 | 19 | printf('Decrypted value: %s' . PHP_EOL, $decryptedValue); |