ParagonIE_Sodium_Core32_ChaCha20::streamXorIc() public WP 1.0
{} It's a method of the class: ParagonIE_Sodium_Core32_ChaCha20{}
No Hooks.
Return
String
. Null. Nothing.
Usage
$result = ParagonIE_Sodium_Core32_ChaCha20::streamXorIc( $message, $nonce, $key, $ic );
- $message(string) (required)
- -
- $nonce(string)
- -
- $key(string)
- -
- $ic(string)
- -
Code of ParagonIE_Sodium_Core32_ChaCha20::streamXorIc() ParagonIE Sodium Core32 ChaCha20::streamXorIc WP 5.7
public static function streamXorIc($message, $nonce = '', $key = '', $ic = '')
{
return self::encryptBytes(
new ParagonIE_Sodium_Core32_ChaCha20_Ctx($key, $nonce, $ic),
$message
);
}