wp-includes/sodium_compat/src/Core/ChaCha20.php:350$lenint$noncestringoptional''$keystringoptional''string public static function ietfStream($len, $nonce = '', $key = '') { return self::encryptBytes( new ParagonIE_Sodium_Core_ChaCha20_IetfCtx($key, $nonce), str_repeat("\x00", $len) ); }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/Core/ChaCha20.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.