Title: Hi everyone! I’m Samir, and my co-founder Neil and I are building Blyss (<a href="https:&#x2F;&#x2F;blyss.dev">https:&#x2F;&#x2F;blyss.dev</a>). Blyss is an open source homomorphic encryption SDK, available as a fully managed service.<p>Fully homomorphic encryption (FHE) enables computation on encrypted data. This is essentially the ultimate privacy guarantee - a server that does work for its users (like fetching emails, tweets, or search results), without ever knowing what its users are doing - who they talk to, who they follow, or even what they search for. Servers using FHE give you cryptographic proof that they aren’t spying on you.<p>Unfortunately, performing general computation using FHE is notoriously slow. We have focused on solving a simple, specific problem: retrieve an item from a key-value store, without revealing to the server which item was retrieved.<p>By focusing on retrievals, we achieve huge speedups that make Blyss practical for real-world applications: a password scanner like “Have I Been Pwned?” that checks your credentials against breaches, but never learns anything about your password (<a href="https:&#x2F;&#x2F;playground.blyss.dev&#x2F;passwords">https:&#x2F;&#x2F;playground.blyss.dev&#x2F;passwords</a>), domain name servers that don’t get to see what domains you’re fetching (<a href="https:&#x2F;&#x2F;sprl.it&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sprl.it&#x2F;</a>), and social apps that let you find out which of your contacts are already on the platform, without letting the service see your contacts (<a href="https:&#x2F;&#x2F;stackblitz.com&#x2F;edit&#x2F;blyss-private-contact-intersection" rel="nofollow">https:&#x2F;&#x2F;stackblitz.com&#x2F;edit&#x2F;blyss-private-contact-intersecti...</a>).<p>Big companies (Apple, Google, Microsoft) are already using private retrieval: Chrome and Edge use this technology today to check URLs against blocklists of known phishing sites, and check user passwords against hacked credential dumps, without seeing any of the underlying URLs or passwords.<p>Blyss makes it easy for developers to use homomorphic encryption from a familiar, Firebase-like interface. You can create key-value data buckets, fill them with data, and then make cryptographically private retrievals. No entity, not even the Blyss service itself, can learn which items are retrieved from a Blyss bucket. We handle all the server infrastructure, and maintain robust open source JS clients, with the cryptography written in Rust and compiled to WebAssembly. We also have an open source server you can host yourself.<p>(Side note: a lot of what drew us to this problem is just how paradoxical the private retrieval guarantee sounds—it seems intuitively like it should be impossible to get data from a server without it learning what you retrieve! The basic idea of how this is actually possible is: the client encrypts a one-hot vector (all 0’s except a single 1) using homomorphic encryption, and the server is able to ‘multiply’ these by the database without learning anything about the underlying encrypted values. The dot product of the encrypted query and the database yields an encrypted result. The client decrypts this, and gets the database item it wanted. To the server, all the inputs and outputs stay completely opaque. We have a blog post explaining more, with pictures, that was on HN previously: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32987155" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=32987155</a>.)<p>Neil and I met eight years ago on the first day of freshman year of college; we’ve been best friends (and roommates!) since. We are privacy nerds—before Blyss, I worked at Yubico, and Neil worked at Apple. I’ve had an academic interest in homomorphic encryption for years, but it became a practical interest when a private Wikipedia demo I posted on HN (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31668814" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=31668814</a>) became popular, and people started asking for a simple way to build products using this technology.<p>Our client and server are MIT open source (<a href="https:&#x2F;&#x2F;github.com&#x2F;blyssprivacy&#x2F;sdk">https:&#x2F;&#x2F;github.com&#x2F;blyssprivacy&#x2F;sdk</a>), and we plan to make money as a hosted server. Since the server is tricky to operate at scale, and is not part of the trust model, we think this makes sense for both us and our customers. People have used Blyss to build block explorers, DNS resolvers, and malware scanners; you can see some highlights in our playground: <a href="https:&#x2F;&#x2F;playground.blyss.dev">https:&#x2F;&#x2F;playground.blyss.dev</a>.<p>We have a generous free tier, and you get an API key as soon as you log in. For production use, our pricing is usage-based: $1 gets you 10k private reads on a 1 GB database (larger databases scale costs linearly). You can also run the server yourself.<p>Private retrieval is a totally new building block for privacy - we can’t wait to see what you’ll build with it! Let us know what you think, or if you have any questions about Blyss or homomorphic encryption in general.
Upvote: