Show HN: Solving the Millionaires' Problem in Rust

github.com

1 points by vaktibabat 12 hours ago

Made this project to understand garbled circuits better. In short, it's an algorithm that allows multiple parties to evaluate a multivariate function privately (i.e without any party learning the inputs of the other parties). I find this algorithm incredibly cool, and implementing it from scratch really made me appreciate it :)

I also wrote a post describing all of the algorithms and their implementations: https://vaktibabat.github.io/posts/smpc_circuits/

Would be very glad for any feedback :)