Build a Stoffel application
Stoffel is a programming and runtime stack for the private computation inside an application. You write the private workflow in StoffelLang, compile it to.stflb bytecode, run it through local MPC during development, and call it from Rust application code with the SDK.
Use these docs to:
- install the
stoffelCLI; - create a project;
- check and build
.stflbbytecode; - run local MPC on your machine;
- call a Stoffel program from Rust;
- understand how shares, parties, thresholds, and openings fit into the application boundary.
The private-computation boundary
Most application stacks encrypt data at rest and in transit, then decrypt it so the app can run its logic. That makes sensitive user context part of ordinary application state: available to services, logs, analytics, support tools, operators, and downstream integrations unless every layer is carefully constrained. Stoffel gives you a different boundary for the sensitive part of the workflow. Private values enter the computation as shares. The program computes over those shares. Only explicit openings or client outputs leave the boundary.How the stack fits together

Choose a path
Related reading
- Data in Use Protection: How MPC Keeps Inputs Hidden from the Cloud: a longer explanation of the compute-time privacy gap MPC is designed to close.
- Is Your Analytics Platform a Security Liability? What MXP 2026 Taught Me: a product example of how centralizing sensitive behavioral data creates exposure.