@@ -92,7 +92,7 @@ discard block |
||
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 |
||
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 | } |