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
/home/sportsfe.../httpdocs/clone/wp-inclu.../sodium_c.../lib
File: stream-xchacha20.php
<?php
[0] Fix | Delete
[1] Fix | Delete
if (!is_callable('sodium_crypto_stream_xchacha20')) {
[2] Fix | Delete
/**
[3] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20()
[4] Fix | Delete
* @param int $len
[5] Fix | Delete
* @param string $nonce
[6] Fix | Delete
* @param string $key
[7] Fix | Delete
* @return string
[8] Fix | Delete
* @throws SodiumException
[9] Fix | Delete
* @throws TypeError
[10] Fix | Delete
*/
[11] Fix | Delete
function sodium_crypto_stream_xchacha20($len, $nonce, $key)
[12] Fix | Delete
{
[13] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_stream_xchacha20($len, $nonce, $key, true);
[14] Fix | Delete
}
[15] Fix | Delete
}
[16] Fix | Delete
if (!is_callable('sodium_crypto_stream_xchacha20_keygen')) {
[17] Fix | Delete
/**
[18] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_keygen()
[19] Fix | Delete
* @return string
[20] Fix | Delete
* @throws Exception
[21] Fix | Delete
*/
[22] Fix | Delete
function sodium_crypto_stream_xchacha20_keygen()
[23] Fix | Delete
{
[24] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_keygen();
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
if (!is_callable('sodium_crypto_stream_xchacha20_xor')) {
[28] Fix | Delete
/**
[29] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor()
[30] Fix | Delete
* @param string $message
[31] Fix | Delete
* @param string $nonce
[32] Fix | Delete
* @param string $key
[33] Fix | Delete
* @return string
[34] Fix | Delete
* @throws SodiumException
[35] Fix | Delete
* @throws TypeError
[36] Fix | Delete
*/
[37] Fix | Delete
function sodium_crypto_stream_xchacha20_xor($message, $nonce, $key)
[38] Fix | Delete
{
[39] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor($message, $nonce, $key, true);
[40] Fix | Delete
}
[41] Fix | Delete
}
[42] Fix | Delete
if (!is_callable('sodium_crypto_stream_xchacha20_xor_ic')) {
[43] Fix | Delete
/**
[44] Fix | Delete
* @see ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic()
[45] Fix | Delete
* @param string $message
[46] Fix | Delete
* @param string $nonce
[47] Fix | Delete
* @param int $counter
[48] Fix | Delete
* @param string $key
[49] Fix | Delete
* @return string
[50] Fix | Delete
* @throws SodiumException
[51] Fix | Delete
* @throws TypeError
[52] Fix | Delete
*/
[53] Fix | Delete
function sodium_crypto_stream_xchacha20_xor_ic($message, $nonce, $counter, $key)
[54] Fix | Delete
{
[55] Fix | Delete
return ParagonIE_Sodium_Compat::crypto_stream_xchacha20_xor_ic($message, $nonce, $counter, $key, true);
[56] Fix | Delete
}
[57] Fix | Delete
}
[58] Fix | Delete
[59] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function