In this recipe, we're going to walk through the basics of encrypted computation. In particular, we're going to focus on one popular approach, called Secure Multi-Party Computation. You'll learn how to build a simple encrypted calculator that can perform addition on encrypted numbers. The ideas in this recipe will come in handy in the Private deep learning prediction recipe.
Encrypted computation
Getting ready
The following recipe has no installation requirements other than Python.
How to do it…
- Import the random library and select a large prime...