Syntax Syntax
Parameters Parameters
- $state
-
(Required)
- $msg
-
(Required)
- $aad
-
(Optional)
Default value: ''
Return Return
(bool|array{0:) string, 1: int}
Source Source
File: wp-includes/sodium_compat/src/Compat.php
public static function crypto_secretstream_xchacha20poly1305_pull(&$state, $msg, $aad = '')
{
if (PHP_INT_SIZE === 4) {
return ParagonIE_Sodium_Crypto32::secretstream_xchacha20poly1305_pull(
$state,
$msg,
$aad
);
}
return ParagonIE_Sodium_Crypto::secretstream_xchacha20poly1305_pull(
$state,
$msg,
$aad
);
}