Get the latest tech news

Homomorphically Encrypting CRDTs


Homomorphic encryption allows a computer to run programs on encrypted data. Learn how homomorphic encryption works through interactive examples, build a homomorphically encrypted CRDT and see whether it has promise for local-first software.

That sounds like local-first’s bread and butter: store the document as a CRDT, then use some sort of sync server to merge updates and relay them between you and your friend. While I’m reasonably confident that my code and advice here is generally sound, cryptography is a field in which subtle bugs and exploits can look fine to the untrained eye. Because Rust is a low-level language, we need separate functions to convert types such as strings into the raw bytes to store as the value.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of CRDTs

CRDTs

Photo of Encrypting CRDTs

Encrypting CRDTs

Related news:

News photo

CRDTs #2: Turtles All the Way Down

News photo

Collaborative Text Editing Without CRDTs or OT

News photo

CRDTs and Collaborative Playground