@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | // ... then hash other elements with previous hmac and return |
54 | - return \hash_hmac($algo, $sum . $iv . $mode . $cipher, $key, true); |
|
54 | + return \hash_hmac($algo, $sum.$iv.$mode.$cipher, $key, true); |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | /** |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | // Perform key derivation |
104 | - $key = Hash::ihmac($iv . $cipher . $mode, $password, $cost, $algo); |
|
104 | + $key = Hash::ihmac($iv.$cipher.$mode, $password, $cost, $algo); |
|
105 | 105 | |
106 | 106 | // Return hash normalized to key length |
107 | 107 | return self::hashNormalize($key, $keysize, $algo); |