Completed
Pull Request — master (#15)
by Michael
01:27
created
src/OpensslBridge.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 		$chk = \hash_hmac(static::CHKSUM, $msg, $key, true);
93 93
 
94 94
         // Return iv + checksum + iterations + cyphertext
95
-        return $ivr . $chk . $itr . $msg;
95
+        return $ivr.$chk.$itr.$msg;
96 96
     }
97 97
 
98 98
     /**
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
     private static function key(string $pass, string $iv, int $cost): string
107 107
     {
108 108
         // Create the authentication string to be hashed
109
-        $data = $iv . self::RIJNDA . static::CIPHER;
109
+        $data = $iv.self::RIJNDA.static::CIPHER;
110 110
 
111 111
         return Hash::ihmac($data, $pass, $cost, static::CHKSUM);
112 112
     }
Please login to merge, or discard this patch.