Syntax Syntax
Parameters Parameters
- $message
-
(Required)
- $nonce
-
(Optional)
Default value: ''
- $key
-
(Optional)
Default value: ''
- $ic
-
(Optional)
Default value: ''
Return Return
(string)
Source Source
File: wp-includes/sodium_compat/src/Core/ChaCha20.php
public static function ietfStreamXorIc($message, $nonce = '', $key = '', $ic = '') { return self::encryptBytes( new ParagonIE_Sodium_Core_ChaCha20_IetfCtx($key, $nonce, $ic), $message ); }