Completed
Pull Request — master (#21)
by Michael
03:28
created
src/Aes256Ofb.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,8 +23,8 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
src/Otp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,10 +40,10 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.