---
answer: direct
beat: ai-technology
source: 1 article · updated: November 17, 2026
---

Why encrypt code locally before sending it, if the connection to the server is already secure?

Transport encryption (TLS) protects data in transit between client and server, but the server itself still receives and can act on the plaintext once it arrives. Encrypting locally, before transmission, means the specific application logic on the server is deliberately built to decrypt only what a given operation needs and discard it immediately — a stronger, architecture-level privacy commitment than relying on transport security alone.

Answered in

How Cursor Indexes Your Entire Codebase Without Ever Storing Your Code

Cursor's semantic search runs on embeddings, not source. The server never persists a line, and a Merkle tree keeps the index in sync as you type.

Crashtech Editorial November 17, 2026 How AI Actually Works

Read the full analysis

Other questions this article answers

More how ai actually works questions

Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the How AI Actually Works beat.