Completed
Push — master ( b51c1c...3226d7 )
by Michael
01:41
created
src/Cryptobase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         }
51 51
 
52 52
         // ... then hash other elements with previous hmac and return
53
-        return \hash_hmac($algo, $sum . $iv . $mode . $cipher, $key, true);
53
+        return \hash_hmac($algo, $sum.$iv.$mode.$cipher, $key, true);
54 54
     }
55 55
 
56 56
     /**
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
     protected static function key(string $password, string $iv, int $cost, string $cipher = 'rijndael-128', string $mode = 'cbc', string $algo = 'sha256'): string
93 93
     {
94 94
         // Perform key derivation
95
-        return Hash::ihmac($iv . $cipher . $mode, $password, $cost, $algo);
95
+        return Hash::ihmac($iv.$cipher.$mode, $password, $cost, $algo);
96 96
     }
97 97
 
98 98
     /**
Please login to merge, or discard this patch.