wp-includes/sodium_compat/src/Core/ChaCha20.php:332$lenint$noncestring$keystringstring public static function stream($len, $nonce, $key) { return self::encryptBytes( new ParagonIE_Sodium_Core_ChaCha20_Ctx($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.