/var/www/vhosts/nabawater/vendor/paragonie/random_compat/lib
NameSizeModeActions
byte_safe_strings.php63140644editdlrm
cast_to_int.php27190644editdlrm
error_polyfill.php16620644editdlrm
random.php79460644editdlrm
random_bytes_com_dotnet.php30130644editdlrm
random_bytes_dev_urandom.php64540644editdlrm
random_bytes_libsodium.php29450644editdlrm
random_bytes_libsodium_legacy.php29240644editdlrm
random_bytes_mcrypt.php26050644editdlrm
random_int.php67170644editdlrm
Edit: /var/www/vhosts/nabawater/vendor/paragonie/random_compat/lib/random_bytes_libsodium.php (2945B)
2147483647) { $buf = ''; for ($i = 0; $i < $bytes; $i += 1073741824) { $n = ($bytes - $i) > 1073741824 ? 1073741824 : $bytes - $i; $buf .= \Sodium\randombytes_buf($n); } } else { /** @var string|bool $buf */ $buf = \Sodium\randombytes_buf($bytes); } if (is_string($buf)) { if (RandomCompat_strlen($buf) === $bytes) { return $buf; } } /** * If we reach here, PHP has failed us. */ throw new Exception( 'Could not gather sufficient random data' ); } }