Re

Read Wikipedia privately using homomorphic encryption

Hacker News

Read Wikipedia privately using homomorphic encryption

Hi, creator here. This is a demo of our recent work presented at Oakland (IEEE S&P): https://eprint.iacr.org/2022/368 . The server and client code are written in Rust and available here: https://github.com/menonsamir/spiral-rs . The general aim of our work is to show that homomorphic encryption is practical today for real-world applications. The server we use to serve this costs $35/month! A quick overview: the client uses homomorphic encryption to encrypt the article number that they would like to retrieve. The server processes the query and produces an encrypted result containing the desired article, and sends this back to the client, who can decrypt and obtain the article. A malicious server is unable to determine which article the client retrieved. All search and autocomplete is down locally. The technical details are in the paper, but the high level summary is that the client creates a large one-hot vector of encrypted bits (0’s except for the index of the desired article, where they place a 1) and then the server computes something like a ‘homomorphic dot product’ between the query and the plaintext articles. I’d like to caveat that this is an in-browser demo to show it is practical to use homomorphic encryption at this scale. As a real product, you’d probably want to distribute a signed client executable (or Electron app) since otherwise, a malicious server could simply deliver bad client JS on the fly. Happy to answer any questions!

Share card

Actual performance

331points
116comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: using, code, plain · Missing: mac, agents, macos
75%75% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Hacker NewsStrong engagement from HN community · Strong signals: io · Missing: https docs, excited, just released
67%67% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
Indie HackersFits the IH revenue-focused audience · Missing: supports, reddit linkedin, podcasting
60%60% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Missing: plus, platform, intuitive
39%39% predicted probability of success on AppSumo, based on ML models trained on real launch data.
TrustMRRLess likely to generate early MRR · Strong signals: month · Missing: mobile apps, ios, personal
28%28% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
15%15% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

A
A Confidential DAO Voting System Using Homomorphic Encryption48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A Confidential DAO Voting System Using Homomorphic Encryption

Hacker News6
Pr
Privately resolve “.eth” URLs using homomorphic encryption41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Privately resolve “.eth” URLs using homomorphic encryption

Hacker News2
Zi
Zip It – Encryption Anywhere45%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Zip It – Encryption Anywhere

Hacker News10
Ad
Additive Homomorphic Encryption on Ethereum50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Additive Homomorphic Encryption on Ethereum

Hacker News1
Ho
How to get around the Wikipedia blackout (if you have to)41%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

How to get around the Wikipedia blackout (if you have to)

Hacker News1
Cr
Crowdsourced incremental Wikipedia improvements59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Crowdsourced incremental Wikipedia improvements

Hacker News4
wi
wikiUp - Wikipedia in Tooltips59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

wikiUp - Wikipedia in Tooltips

Hacker News26
Le
Legible Wikipedia59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Legible Wikipedia

Hacker News2
Se
Serket – A gem for distributed encryption50%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Serket – A gem for distributed encryption

Hacker News1
Wi
WikiBattle – 1v1 races through Wikipedia59%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

WikiBattle – 1v1 races through Wikipedia

Hacker News1