Yao’s Millionaires' Problem
Hands-on project · Sold on Manning
Yao’s Millionaires' Problem by Manning Publications is a hands-on project sold by Manning. It costs $29.99. Refund policy: 7-day refund on liveProjects, before your first upload.
$29.99
Digibento may earn a commission at no extra cost to you.

Our take
Yao's Millionaires' Problem is a Manning liveProject by Omer Shlomovits in which you use secure multiparty computation so two millionaires can learn who has more money while neither reveals their actual wealth. You write the program in memory-safe Rust, using two-party computation for the greater-than comparison. You also explore the Paillier additive homomorphic encryption system and test and benchmark the protocol. It takes about a week at 5 to 7 hours.
Level: Beginner
What you get
- Secure two-party computation in Rust
- A private greater-than comparison
- Paillier homomorphic encryption
- Testing and benchmarking a cryptographic protocol
- Project roadmap, help and books as resources
Ideal for
- Rust developers interested in cryptography
- Engineers learning privacy-preserving computation
- Students curious about secure multiparty computation
Use it for
- Implementing a cryptographic protocol
- Comparing private values securely
- Benchmarking crypto code
About this
From Manning
In this liveProject, you’ll use secure multiparty computation to reveal which of two millionnaires is richer without exposing how much either is worth. Your program will use the two-party computation for the “greater than” operator, and be written using the Rust language. Due to its unique set of features, such as guaranteed memory safety, Rust is well suited for programming cryptography applications.
Highlights
- Explore the Paillier additive homomorphic encryption cryptosystem
- Test and benchmark a cryptographic protocol
What’s included
- Self-paced
- Project roadmap
- Get Help
- Compare with others
- Books included as resources
- Also included in a Manning Online subscription
- Store
- Manning
- Type
- Hands-on project
- Category
- Online courses
- Creator
- Manning Publications
- Level
- Beginner
- Duration
- 1 week, 5-7 hours per week
- Instructor
- Omer Shlomovits
- Released
- 2021-12-21
- Refund
- 7-day refund on liveProjects, before your first upload
Questions and answers
- What's included in Yao’s Millionaires' Problem?
- Self-paced. Project roadmap. Get Help. Compare with others. Books included as resources.
- What does Yao’s Millionaires' Problem work on?
- It works on the web.
- Can I get a refund on Yao’s Millionaires' Problem?
- Manning says: 7-day refund, before your first upload.
More from Manning
- Secure Coin Tossing · Manning · $29.99
- The Knapsack Problem · Manning · $29.99
- Dynamic Programming · Manning · $29.99
- A Greedy Coin Change Calculator · Manning · $29.99
- Secret Santa · Manning · $29.99
- Public Key Cryptography · Manning · $29.99
- Dating Game · Manning · $29.99
- Win a Card Game · Manning · $29.99