Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../sodium_c.../lib
File: php72compat.php
}
[1000] Fix | Delete
}
[1001] Fix | Delete
if (!is_callable('sodium_crypto_secretstream_xchacha20poly1305_init_pull')) {
[1002] Fix | Delete
/**
[1003] Fix | Delete
* @param string $header
[1004] Fix | Delete
* @param string $key
[1005] Fix | Delete
* @return string
[1006] Fix | Delete
* @throws Exception
[1007] Fix | Delete
*/
[1008] Fix | Delete
function sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key)
[1009] Fix | Delete
{
[1010] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_init_pull($header, $key);
[1011] Fix | Delete
}
[1012] Fix | Delete
}
[1013] Fix | Delete
if (!is_callable('sodium_crypto_secretstream_xchacha20poly1305_pull')) {
[1014] Fix | Delete
/**
[1015] Fix | Delete
* @param string $state
[1016] Fix | Delete
* @param string $ciphertext
[1017] Fix | Delete
* @param string $additional_data
[1018] Fix | Delete
* @return bool|array{0: string, 1: int}
[1019] Fix | Delete
* @throws SodiumException
[1020] Fix | Delete
*/
[1021] Fix | Delete
function sodium_crypto_secretstream_xchacha20poly1305_pull(&$state, $ciphertext, $additional_data = '')
[1022] Fix | Delete
{
[1023] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_pull(
[1024] Fix | Delete
$state,
[1025] Fix | Delete
$ciphertext,
[1026] Fix | Delete
$additional_data
[1027] Fix | Delete
);
[1028] Fix | Delete
}
[1029] Fix | Delete
}
[1030] Fix | Delete
if (!is_callable('sodium_crypto_secretstream_xchacha20poly1305_rekey')) {
[1031] Fix | Delete
/**
[1032] Fix | Delete
* @param string $state
[1033] Fix | Delete
* @return void
[1034] Fix | Delete
* @throws SodiumException
[1035] Fix | Delete
*/
[1036] Fix | Delete
function sodium_crypto_secretstream_xchacha20poly1305_rekey(&$state)
[1037] Fix | Delete
{
[1038] Fix | Delete
ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_rekey($state);
[1039] Fix | Delete
}
[1040] Fix | Delete
}
[1041] Fix | Delete
if (!is_callable('sodium_crypto_secretstream_xchacha20poly1305_keygen')) {
[1042] Fix | Delete
/**
[1043] Fix | Delete
* @return string
[1044] Fix | Delete
* @throws Exception
[1045] Fix | Delete
*/
[1046] Fix | Delete
function sodium_crypto_secretstream_xchacha20poly1305_keygen()
[1047] Fix | Delete
{
[1048] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_secretstream_xchacha20poly1305_keygen();
[1049] Fix | Delete
}
[1050] Fix | Delete
}
[1051] Fix | Delete
if (!is_callable('sodium_crypto_shorthash')) {
[1052] Fix | Delete
/**
[1053] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_shorthash()
[1054] Fix | Delete
* @param string $message
[1055] Fix | Delete
* @param string $key
[1056] Fix | Delete
* @return string
[1057] Fix | Delete
* @throws SodiumException
[1058] Fix | Delete
* @throws TypeError
[1059] Fix | Delete
*/
[1060] Fix | Delete
function sodium_crypto_shorthash($message, $key = '')
[1061] Fix | Delete
{
[1062] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_shorthash($message, $key);
[1063] Fix | Delete
}
[1064] Fix | Delete
}
[1065] Fix | Delete
if (!is_callable('sodium_crypto_shorthash_keygen')) {
[1066] Fix | Delete
/**
[1067] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_shorthash_keygen()
[1068] Fix | Delete
* @return string
[1069] Fix | Delete
* @throws Exception
[1070] Fix | Delete
*/
[1071] Fix | Delete
function sodium_crypto_shorthash_keygen()
[1072] Fix | Delete
{
[1073] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_shorthash_keygen();
[1074] Fix | Delete
}
[1075] Fix | Delete
}
[1076] Fix | Delete
if (!is_callable('sodium_crypto_sign')) {
[1077] Fix | Delete
/**
[1078] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign()
[1079] Fix | Delete
* @param string $message
[1080] Fix | Delete
* @param string $secret_key
[1081] Fix | Delete
* @return string
[1082] Fix | Delete
* @throws SodiumException
[1083] Fix | Delete
* @throws TypeError
[1084] Fix | Delete
*/
[1085] Fix | Delete
function sodium_crypto_sign($message, $secret_key)
[1086] Fix | Delete
{
[1087] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign($message, $secret_key);
[1088] Fix | Delete
}
[1089] Fix | Delete
}
[1090] Fix | Delete
if (!is_callable('sodium_crypto_sign_detached')) {
[1091] Fix | Delete
/**
[1092] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_detached()
[1093] Fix | Delete
* @param string $message
[1094] Fix | Delete
* @param string $secret_key
[1095] Fix | Delete
* @return string
[1096] Fix | Delete
* @throws SodiumException
[1097] Fix | Delete
* @throws TypeError
[1098] Fix | Delete
*/
[1099] Fix | Delete
function sodium_crypto_sign_detached($message, $secret_key)
[1100] Fix | Delete
{
[1101] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_detached($message, $secret_key);
[1102] Fix | Delete
}
[1103] Fix | Delete
}
[1104] Fix | Delete
if (!is_callable('sodium_crypto_sign_keypair_from_secretkey_and_publickey')) {
[1105] Fix | Delete
/**
[1106] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_keypair_from_secretkey_and_publickey()
[1107] Fix | Delete
* @param string $secret_key
[1108] Fix | Delete
* @param string $public_key
[1109] Fix | Delete
* @return string
[1110] Fix | Delete
* @throws SodiumException
[1111] Fix | Delete
* @throws TypeError
[1112] Fix | Delete
*/
[1113] Fix | Delete
function sodium_crypto_sign_keypair_from_secretkey_and_publickey($secret_key, $public_key)
[1114] Fix | Delete
{
[1115] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_keypair_from_secretkey_and_publickey($secret_key, $public_key);
[1116] Fix | Delete
}
[1117] Fix | Delete
}
[1118] Fix | Delete
if (!is_callable('sodium_crypto_sign_keypair')) {
[1119] Fix | Delete
/**
[1120] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_keypair()
[1121] Fix | Delete
* @return string
[1122] Fix | Delete
* @throws SodiumException
[1123] Fix | Delete
* @throws TypeError
[1124] Fix | Delete
*/
[1125] Fix | Delete
function sodium_crypto_sign_keypair()
[1126] Fix | Delete
{
[1127] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_keypair();
[1128] Fix | Delete
}
[1129] Fix | Delete
}
[1130] Fix | Delete
if (!is_callable('sodium_crypto_sign_open')) {
[1131] Fix | Delete
/**
[1132] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_open()
[1133] Fix | Delete
* @param string $signedMessage
[1134] Fix | Delete
* @param string $public_key
[1135] Fix | Delete
* @return string|bool
[1136] Fix | Delete
*/
[1137] Fix | Delete
function sodium_crypto_sign_open($signedMessage, $public_key)
[1138] Fix | Delete
{
[1139] Fix | Delete
try {
[1140] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_open($signedMessage, $public_key);
[1141] Fix | Delete
} catch (Error $ex) {
[1142] Fix | Delete
return false;
[1143] Fix | Delete
} catch (Exception $ex) {
[1144] Fix | Delete
return false;
[1145] Fix | Delete
}
[1146] Fix | Delete
}
[1147] Fix | Delete
}
[1148] Fix | Delete
if (!is_callable('sodium_crypto_sign_publickey')) {
[1149] Fix | Delete
/**
[1150] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_publickey()
[1151] Fix | Delete
* @param string $key_pair
[1152] Fix | Delete
* @return string
[1153] Fix | Delete
* @throws SodiumException
[1154] Fix | Delete
* @throws TypeError
[1155] Fix | Delete
*/
[1156] Fix | Delete
function sodium_crypto_sign_publickey($key_pair)
[1157] Fix | Delete
{
[1158] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_publickey($key_pair);
[1159] Fix | Delete
}
[1160] Fix | Delete
}
[1161] Fix | Delete
if (!is_callable('sodium_crypto_sign_publickey_from_secretkey')) {
[1162] Fix | Delete
/**
[1163] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey()
[1164] Fix | Delete
* @param string $secret_key
[1165] Fix | Delete
* @return string
[1166] Fix | Delete
* @throws SodiumException
[1167] Fix | Delete
* @throws TypeError
[1168] Fix | Delete
*/
[1169] Fix | Delete
function sodium_crypto_sign_publickey_from_secretkey($secret_key)
[1170] Fix | Delete
{
[1171] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_publickey_from_secretkey($secret_key);
[1172] Fix | Delete
}
[1173] Fix | Delete
}
[1174] Fix | Delete
if (!is_callable('sodium_crypto_sign_secretkey')) {
[1175] Fix | Delete
/**
[1176] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_secretkey()
[1177] Fix | Delete
* @param string $key_pair
[1178] Fix | Delete
* @return string
[1179] Fix | Delete
* @throws SodiumException
[1180] Fix | Delete
* @throws TypeError
[1181] Fix | Delete
*/
[1182] Fix | Delete
function sodium_crypto_sign_secretkey($key_pair)
[1183] Fix | Delete
{
[1184] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_secretkey($key_pair);
[1185] Fix | Delete
}
[1186] Fix | Delete
}
[1187] Fix | Delete
if (!is_callable('sodium_crypto_sign_seed_keypair')) {
[1188] Fix | Delete
/**
[1189] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_seed_keypair()
[1190] Fix | Delete
* @param string $seed
[1191] Fix | Delete
* @return string
[1192] Fix | Delete
* @throws SodiumException
[1193] Fix | Delete
* @throws TypeError
[1194] Fix | Delete
*/
[1195] Fix | Delete
function sodium_crypto_sign_seed_keypair($seed)
[1196] Fix | Delete
{
[1197] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_seed_keypair($seed);
[1198] Fix | Delete
}
[1199] Fix | Delete
}
[1200] Fix | Delete
if (!is_callable('sodium_crypto_sign_verify_detached')) {
[1201] Fix | Delete
/**
[1202] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_verify_detached()
[1203] Fix | Delete
* @param string $signature
[1204] Fix | Delete
* @param string $message
[1205] Fix | Delete
* @param string $public_key
[1206] Fix | Delete
* @return bool
[1207] Fix | Delete
* @throws SodiumException
[1208] Fix | Delete
* @throws TypeError
[1209] Fix | Delete
*/
[1210] Fix | Delete
function sodium_crypto_sign_verify_detached($signature, $message, $public_key)
[1211] Fix | Delete
{
[1212] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_verify_detached($signature, $message, $public_key);
[1213] Fix | Delete
}
[1214] Fix | Delete
}
[1215] Fix | Delete
if (!is_callable('sodium_crypto_sign_ed25519_pk_to_curve25519')) {
[1216] Fix | Delete
/**
[1217] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519()
[1218] Fix | Delete
* @param string $public_key
[1219] Fix | Delete
* @return string
[1220] Fix | Delete
* @throws SodiumException
[1221] Fix | Delete
* @throws TypeError
[1222] Fix | Delete
*/
[1223] Fix | Delete
function sodium_crypto_sign_ed25519_pk_to_curve25519($public_key)
[1224] Fix | Delete
{
[1225] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_ed25519_pk_to_curve25519($public_key);
[1226] Fix | Delete
}
[1227] Fix | Delete
}
[1228] Fix | Delete
if (!is_callable('sodium_crypto_sign_ed25519_sk_to_curve25519')) {
[1229] Fix | Delete
/**
[1230] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519()
[1231] Fix | Delete
* @param string $secret_key
[1232] Fix | Delete
* @return string
[1233] Fix | Delete
* @throws SodiumException
[1234] Fix | Delete
* @throws TypeError
[1235] Fix | Delete
*/
[1236] Fix | Delete
function sodium_crypto_sign_ed25519_sk_to_curve25519($secret_key)
[1237] Fix | Delete
{
[1238] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_sign_ed25519_sk_to_curve25519($secret_key);
[1239] Fix | Delete
}
[1240] Fix | Delete
}
[1241] Fix | Delete
if (!is_callable('sodium_crypto_stream')) {
[1242] Fix | Delete
/**
[1243] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_stream()
[1244] Fix | Delete
* @param int $length
[1245] Fix | Delete
* @param string $nonce
[1246] Fix | Delete
* @param string $key
[1247] Fix | Delete
* @return string
[1248] Fix | Delete
* @throws SodiumException
[1249] Fix | Delete
* @throws TypeError
[1250] Fix | Delete
*/
[1251] Fix | Delete
function sodium_crypto_stream($length, $nonce, $key)
[1252] Fix | Delete
{
[1253] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_stream($length, $nonce, $key);
[1254] Fix | Delete
}
[1255] Fix | Delete
}
[1256] Fix | Delete
if (!is_callable('sodium_crypto_stream_keygen')) {
[1257] Fix | Delete
/**
[1258] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_stream_keygen()
[1259] Fix | Delete
* @return string
[1260] Fix | Delete
* @throws Exception
[1261] Fix | Delete
*/
[1262] Fix | Delete
function sodium_crypto_stream_keygen()
[1263] Fix | Delete
{
[1264] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_stream_keygen();
[1265] Fix | Delete
}
[1266] Fix | Delete
}
[1267] Fix | Delete
if (!is_callable('sodium_crypto_stream_xor')) {
[1268] Fix | Delete
/**
[1269] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_stream_xor()
[1270] Fix | Delete
* @param string $message
[1271] Fix | Delete
* @param string $nonce
[1272] Fix | Delete
* @param string $key
[1273] Fix | Delete
* @return string
[1274] Fix | Delete
* @throws SodiumException
[1275] Fix | Delete
* @throws TypeError
[1276] Fix | Delete
*/
[1277] Fix | Delete
function sodium_crypto_stream_xor($message, $nonce, $key)
[1278] Fix | Delete
{
[1279] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_stream_xor($message, $nonce, $key);
[1280] Fix | Delete
}
[1281] Fix | Delete
}
[1282] Fix | Delete
require_once dirname(__FILE__) . '/stream-xchacha20.php';
[1283] Fix | Delete
if (!is_callable('sodium_hex2bin')) {
[1284] Fix | Delete
/**
[1285] Fix | Delete
* @see ParagonIE_Sodium_Compat::hex2bin()
[1286] Fix | Delete
* @param string $string
[1287] Fix | Delete
* @param string $ignore
[1288] Fix | Delete
* @return string
[1289] Fix | Delete
* @throws SodiumException
[1290] Fix | Delete
* @throws TypeError
[1291] Fix | Delete
*/
[1292] Fix | Delete
function sodium_hex2bin($string, $ignore = '')
[1293] Fix | Delete
{
[1294] Fix | Delete
return ParagonIE_Sodium_Compat::hex2bin($string, $ignore);
[1295] Fix | Delete
}
[1296] Fix | Delete
}
[1297] Fix | Delete
if (!is_callable('sodium_increment')) {
[1298] Fix | Delete
/**
[1299] Fix | Delete
* @see ParagonIE_Sodium_Compat::increment()
[1300] Fix | Delete
* @param string $string
[1301] Fix | Delete
* @return void
[1302] Fix | Delete
* @throws SodiumException
[1303] Fix | Delete
* @throws TypeError
[1304] Fix | Delete
*/
[1305] Fix | Delete
function sodium_increment(&$string)
[1306] Fix | Delete
{
[1307] Fix | Delete
ParagonIE_Sodium_Compat::increment($string);
[1308] Fix | Delete
}
[1309] Fix | Delete
}
[1310] Fix | Delete
if (!is_callable('sodium_library_version_major')) {
[1311] Fix | Delete
/**
[1312] Fix | Delete
* @see ParagonIE_Sodium_Compat::library_version_major()
[1313] Fix | Delete
* @return int
[1314] Fix | Delete
*/
[1315] Fix | Delete
function sodium_library_version_major()
[1316] Fix | Delete
{
[1317] Fix | Delete
return ParagonIE_Sodium_Compat::library_version_major();
[1318] Fix | Delete
}
[1319] Fix | Delete
}
[1320] Fix | Delete
if (!is_callable('sodium_library_version_minor')) {
[1321] Fix | Delete
/**
[1322] Fix | Delete
* @see ParagonIE_Sodium_Compat::library_version_minor()
[1323] Fix | Delete
* @return int
[1324] Fix | Delete
*/
[1325] Fix | Delete
function sodium_library_version_minor()
[1326] Fix | Delete
{
[1327] Fix | Delete
return ParagonIE_Sodium_Compat::library_version_minor();
[1328] Fix | Delete
}
[1329] Fix | Delete
}
[1330] Fix | Delete
if (!is_callable('sodium_version_string')) {
[1331] Fix | Delete
/**
[1332] Fix | Delete
* @see ParagonIE_Sodium_Compat::version_string()
[1333] Fix | Delete
* @return string
[1334] Fix | Delete
*/
[1335] Fix | Delete
function sodium_version_string()
[1336] Fix | Delete
{
[1337] Fix | Delete
return ParagonIE_Sodium_Compat::version_string();
[1338] Fix | Delete
}
[1339] Fix | Delete
}
[1340] Fix | Delete
if (!is_callable('sodium_memcmp')) {
[1341] Fix | Delete
/**
[1342] Fix | Delete
* @see ParagonIE_Sodium_Compat::memcmp()
[1343] Fix | Delete
* @param string $string1
[1344] Fix | Delete
* @param string $string2
[1345] Fix | Delete
* @return int
[1346] Fix | Delete
* @throws SodiumException
[1347] Fix | Delete
* @throws TypeError
[1348] Fix | Delete
*/
[1349] Fix | Delete
function sodium_memcmp($string1, $string2)
[1350] Fix | Delete
{
[1351] Fix | Delete
return ParagonIE_Sodium_Compat::memcmp($string1, $string2);
[1352] Fix | Delete
}
[1353] Fix | Delete
}
[1354] Fix | Delete
if (!is_callable('sodium_memzero')) {
[1355] Fix | Delete
/**
[1356] Fix | Delete
* @see ParagonIE_Sodium_Compat::memzero()
[1357] Fix | Delete
* @param string $string
[1358] Fix | Delete
* @return void
[1359] Fix | Delete
* @throws SodiumException
[1360] Fix | Delete
* @throws TypeError
[1361] Fix | Delete
*
[1362] Fix | Delete
* @psalm-suppress ReferenceConstraintViolation
[1363] Fix | Delete
*/
[1364] Fix | Delete
function sodium_memzero(&$string)
[1365] Fix | Delete
{
[1366] Fix | Delete
ParagonIE_Sodium_Compat::memzero($string);
[1367] Fix | Delete
}
[1368] Fix | Delete
}
[1369] Fix | Delete
if (!is_callable('sodium_pad')) {
[1370] Fix | Delete
/**
[1371] Fix | Delete
* @see ParagonIE_Sodium_Compat::pad()
[1372] Fix | Delete
* @param string $unpadded
[1373] Fix | Delete
* @param int $block_size
[1374] Fix | Delete
* @return string
[1375] Fix | Delete
* @throws SodiumException
[1376] Fix | Delete
* @throws TypeError
[1377] Fix | Delete
*/
[1378] Fix | Delete
function sodium_pad($unpadded, $block_size)
[1379] Fix | Delete
{
[1380] Fix | Delete
return ParagonIE_Sodium_Compat::pad($unpadded, $block_size, true);
[1381] Fix | Delete
}
[1382] Fix | Delete
}
[1383] Fix | Delete
if (!is_callable('sodium_unpad')) {
[1384] Fix | Delete
/**
[1385] Fix | Delete
* @see ParagonIE_Sodium_Compat::pad()
[1386] Fix | Delete
* @param string $padded
[1387] Fix | Delete
* @param int $block_size
[1388] Fix | Delete
* @return string
[1389] Fix | Delete
* @throws SodiumException
[1390] Fix | Delete
* @throws TypeError
[1391] Fix | Delete
*/
[1392] Fix | Delete
function sodium_unpad($padded, $block_size)
[1393] Fix | Delete
{
[1394] Fix | Delete
return ParagonIE_Sodium_Compat::unpad($padded, $block_size, true);
[1395] Fix | Delete
}
[1396] Fix | Delete
}
[1397] Fix | Delete
if (!is_callable('sodium_randombytes_buf')) {
[1398] Fix | Delete
/**
[1399] Fix | Delete
* @see ParagonIE_Sodium_Compat::randombytes_buf()
[1400] Fix | Delete
* @param int $amount
[1401] Fix | Delete
* @return string
[1402] Fix | Delete
* @throws Exception
[1403] Fix | Delete
*/
[1404] Fix | Delete
function sodium_randombytes_buf($amount)
[1405] Fix | Delete
{
[1406] Fix | Delete
return ParagonIE_Sodium_Compat::randombytes_buf($amount);
[1407] Fix | Delete
}
[1408] Fix | Delete
}
[1409] Fix | Delete
[1410] Fix | Delete
if (!is_callable('sodium_randombytes_uniform')) {
[1411] Fix | Delete
/**
[1412] Fix | Delete
* @see ParagonIE_Sodium_Compat::randombytes_uniform()
[1413] Fix | Delete
* @param int $upperLimit
[1414] Fix | Delete
* @return int
[1415] Fix | Delete
* @throws Exception
[1416] Fix | Delete
*/
[1417] Fix | Delete
function sodium_randombytes_uniform($upperLimit)
[1418] Fix | Delete
{
[1419] Fix | Delete
return ParagonIE_Sodium_Compat::randombytes_uniform($upperLimit);
[1420] Fix | Delete
}
[1421] Fix | Delete
}
[1422] Fix | Delete
[1423] Fix | Delete
if (!is_callable('sodium_randombytes_random16')) {
[1424] Fix | Delete
/**
[1425] Fix | Delete
* @see ParagonIE_Sodium_Compat::randombytes_random16()
[1426] Fix | Delete
* @return int
[1427] Fix | Delete
* @throws Exception
[1428] Fix | Delete
*/
[1429] Fix | Delete
function sodium_randombytes_random16()
[1430] Fix | Delete
{
[1431] Fix | Delete
return ParagonIE_Sodium_Compat::randombytes_random16();
[1432] Fix | Delete
}
[1433] Fix | Delete
}
[1434] Fix | Delete
[1435] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function