Introduction to Multiparty Computation Tutorials
6 hours ago
- Build a private approval tally that reveals only the aggregate yes-vote count for a Rust launch decision.
- Create a private matchmaking service using Stoffel to compute matches without exposing raw vectors, scores, rankings, or rejection paths.
- Deepen understanding with a private lottery that hides eligibility, ticket values, losing order, and comparison traces.
- Implement N-party Battleship where hidden state updates reveal only the shot result per recipient.
- Define the privacy boundary by deciding what is private, public, opened, routed, or never revealed.
- Run tutorial projects using commands like cargo run, stoffel check, stoffel build, and stoffel run from the repository root.
- Copy the boundary pattern, not the sample domain: keep public data in ordinary code, assign client slots and private payloads, use StoffelLang for private computation boundaries, attach inputs with with_client_input, validate input shapes, open only authorized outputs, and map results to Rust domain objects.