encryptogroup / MOTION

An efficient, user-friendly, modular, and extensible framework for mixed-protocol secure multi-party computation with two or more parties
MIT License
85 stars 40 forks source link

Move common code in examples to a separate object/function #3

Open Oleksandr-Tkachenko opened 3 years ago

Oleksandr-Tkachenko commented 3 years ago

Currently each example adds its own code for parsing inputs, handling network connection, etc. It would be a good idea to have some object or function that all examples could use to avoid repetitions and simplify refactoring.

_Originally posted by @Oleksandr-Tkachenko in https://github.com/encryptogroup/MOTION/pull/2#discussion_r623651743_