|
@@ -183,7 +183,7 @@ discard block |
|
|
block discarded – undo |
|
183
|
183
|
$secure_random_number = ''; |
|
184
|
184
|
|
|
185
|
185
|
while (strlen($secure_random_number) < 78) { |
|
186
|
|
- $secure_random_number = $secure_random_number . hexdec(bin2hex(openssl_random_pseudo_bytes(4, $cstrong))); |
|
|
186
|
+ $secure_random_number = $secure_random_number.hexdec(bin2hex(openssl_random_pseudo_bytes(4, $cstrong))); |
|
187
|
187
|
} |
|
188
|
188
|
|
|
189
|
189
|
if ($secure_random_number === false || $cstrong === false) { |
|
@@ -216,7 +216,7 @@ discard block |
|
|
block discarded – undo |
|
216
|
216
|
*/ |
|
217
|
217
|
private function addHexPrefix($hex) |
|
218
|
218
|
{ |
|
219
|
|
- return (substr($hex, 0, 2) != '0x') ? '0x' . $hex : $hex; |
|
|
219
|
+ return (substr($hex, 0, 2) != '0x') ? '0x'.$hex : $hex; |
|
220
|
220
|
} |
|
221
|
221
|
|
|
222
|
222
|
/** |
Please login to merge, or discard this patch.