multiparty / web-mpc

Platform for deploying web-based privacy-preserving data surveys using secure multi-party computation (MPC).
https://www.multiparty.org
MIT License
54 stars 22 forks source link

Handle "number too large" error more gracefully #92

Closed frederickjansen closed 5 years ago

frederickjansen commented 6 years ago

Right now if someone tries to submit data that overflows 2^32, we throw an error that is only visible if your console window is open. Since we might be dealing with dollar amounts that exceed 4 billion, it makes sense to make this limitation visible to the user.

frederickjansen commented 5 years ago

Resolved by using Jiff with the BigNumber extension.