Completed
Push — master ( 1ca5d8...990c37 )
by Michael
16:51 queued 06:54
created
src/Aes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,10 +106,10 @@
 block discarded – undo
106 106
         }
107 107
 
108 108
         // Create the cypher text prefix (iv + checksum)
109
-        $prefix = $ivr . self::checksum($msg, $ivr, $key, self::mode());
109
+        $prefix = $ivr.self::checksum($msg, $ivr, $key, self::mode());
110 110
 
111 111
         // Return prefix + cyphertext
112
-        return $prefix . $msg;
112
+        return $prefix.$msg;
113 113
     }
114 114
 
115 115
     /**
Please login to merge, or discard this patch.
src/Cryptobase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
         }
61 61
 
62 62
         // ... then hash other elements with previous hmac and return
63
-        return \hash_hmac(self::ALGO, $sum . $iv . $mode . self::RIJNDA, $key, true);
63
+        return \hash_hmac(self::ALGO, $sum.$iv.$mode.self::RIJNDA, $key, true);
64 64
     }
65 65
 
66 66
     /**
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
     protected static function key(string $password, string $iv, int $cost, string $mode): string
77 77
     {
78 78
         // Perform key derivation
79
-        return Hash::ihmac($iv . self::RIJNDA . $mode, $password, $cost, self::ALGO);
79
+        return Hash::ihmac($iv.self::RIJNDA.$mode, $password, $cost, self::ALGO);
80 80
     }
81 81
 
82 82
     /**
Please login to merge, or discard this patch.