wp-includes/sodium_compat/src/Core32/XChaCha20.php:76$messagestring$noncestringoptional''$keystringoptional''$icstringoptional''string public static function ietfStreamXorIc($message, $nonce = '', $key = '', $ic = '') { return self::encryptBytes( new ParagonIE_Sodium_Core32_ChaCha20_IetfCtx( self::hChaCha20(self::substr($nonce, 0, 16), $key), "\x00\x00\x00\x00" . self::substr($nonce, 16, 8), $ic ), $message ); }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/sodium_compat/src/Core32/XChaCha20.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.