WordPress at Your Fingertips
function is not described

ParagonIE_Sodium_Core_ChaCha20::streamXorIc() public WP 1.0

{} It's a method of the class: ParagonIE_Sodium_Core_ChaCha20{}

No Hooks.

Return

String.

Usage

$result = ParagonIE_Sodium_Core_ChaCha20::streamXorIc( $message, $nonce, $key, $ic );
$message(string) (required)
-
$nonce(string)
-
Default: ''
$key(string)
-
Default: ''
$ic(string)
-
Default: ''

Code of ParagonIE_Sodium_Core_ChaCha20::streamXorIc() WP 5.8.2

public static function streamXorIc($message, $nonce = '', $key = '', $ic = '')
{
    return self::encryptBytes(
        new ParagonIE_Sodium_Core_ChaCha20_Ctx($key, $nonce, $ic),
        $message
    );
}