@@ -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 Aes256Ofb extends Aes256Gcm |
|
27 | -{ |
|
26 | +class Aes256Ofb extends Aes256Gcm |
|
27 | +{ |
|
28 | 28 | /** |
29 | 29 | * AES-256 cipher identifier that will be passed to openssl |
30 | 30 | * |
@@ -40,10 +40,10 @@ |
||
40 | 40 | |
41 | 41 | $length = Str::strlen($input); |
42 | 42 | |
43 | - $key = new OpensslKey($algo, $key, '', (string)$length); |
|
43 | + $key = new OpensslKey($algo, $key, '', (string) $length); |
|
44 | 44 | |
45 | 45 | foreach ($chunks as $i => &$chunk) { |
46 | - $info = $length . $i; |
|
46 | + $info = $length.$i; |
|
47 | 47 | $chunk = $chunk ^ $key->deriveKey($info); |
48 | 48 | } |
49 | 49 |