TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Tandem – An Engine for Secure Multi-Party Computation (Written in Rust)

9 点作者 skoodge超过 2 年前
Tandem is a cryptographic engine for executing programs using Secure Multi-Party Computation (MPC), which allows 2 parties to compute a function without revealing their private inputs. The classic example from cryptography is the millionaires&#x27; problem, where two millionaires compute who is richer without revealing their wealth to each other.<p>MPC has in the past been mostly confined to academia, but thanks to some recent papers has finally become fast enough for practical applications. Tandem uses Garbled Circuits, encrypted circuits consisting of boolean gates. While there have been other implementations based on these ideas, Tandem tries to provide a much better user experience than previous attempts. For example, the Tandem repo includes a server, a command line client and client libs for wasm and native architectures. To make it easier to run practical applications, programs can be written in Garble, a custom Rust-like programming language that compiles to Garbled Circuits.<p>(The most practical application to date using Tandem is &quot;Encryptle&quot;, a Wordle clone that runs entirely over MPC. Depending on latency, a client&#x2F;server exchange takes about 400ms, which makes the UX very similar to the real Wordle, with the twist that the server cannot see the guess in plain text and the browser cannot see the solution in plain text. Instead, guess and solution are kept private and compared using MPC.)

1 comment

fspoettel超过 2 年前
How much overhead can you expect when executing code as a garbled circuit? Is there a limit to the amount of instructions before using garbled circuits becomes impractical?
评论 #33803451 未加载