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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Apple built a search engine using homomorphic encryption

8 点作者 abalone4 个月前

1 comment

abalone4 个月前
This has gone a bit under the radar but Apple went and built a private search engine that <i>doesn’t know what you’re searching for.</i> It’s called Wally and it powers queries like caller ID and landmark recognition in photos.<p>* Homomorphic encryption is nothing short of dark magic that makes it impossible for the server to know what you are searching for or what it’s responding with (at considerable greater computational expense).<p>* To make it scale they added differential privacy techniques that generate fake queries from clients to hide which shards are being queried. So rather than always querying every shard (private but expensive), clients precompute which shards are most likely to hold the nearest neighbor match for their query. By itself this would leak the nature of your query but then they bury these queries in a sea of noise across the fleet.<p>* They also slightly randomize and batch the queries into epochs so that they can’t even identify time-based traffic patterns.<p>* It’s all routed through an OHTTP-like private relay that anonymizes requests by stripping IP addresses. It does this by having the client connect to a relay that’s sort of like a VPN except the client passes it an encrypted destination address. The relay then hands this to a second relay run by another company which holds the decryption key, but doesn’t know your IP. So no one party can associate you with your destination. (This is actually the least groundbreaking part of the system.)<p>Academic paper here with all the details: <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;2406.06761" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;2406.06761</a>