Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Topics Security

Cryptography

Ciphers, signatures, TLS internals, post-quantum, protocols.

Search within Cryptography, or combine it with other topics →

2026

Trail of Bits

The cryptography behind electronic voting (and why paper ballots are still essential)

Deep dive 13 min +130 XP

Cryptographic voting protocols like Helios and ElectionGuard can keep ballots secret and make tallies publicly verifiable, but they cannot replace paper ballots in general elections because software failures must remain detectable independently of the software (software independence).

Cockroach Labs

CockroachDB 26.4: One major upgrade a year with skip-level upgrades, run active-active across two data centers, and encrypt for the post-quantum era

Release 7 min +70 XP

CockroachDB 26.4 introduces skip-level upgrades so operators can move from one annual .4 release to the next without stopping at intermediate releases, and adds active-active writes across two data centers via transactional logical data replication.

Cloudflare

4 real? Tracking exploitation and patching of eMudhra’s weak keys

Incident 7 min +70 XP

eMudhra's eight intermediate CA keys were trivially weak (private values like 4, 56 and 66), so anyone could recover the signing keys from the public certificates and forge certificates for any domain that unpatched clients not enforcing Certificate Transparency would accept.

Turso

SQLite Doesn't Come With Encryption. Here's What Developers Actually Use.

Deep dive 11 min +110 XP

SQLite ships without encryption, and since SQLite 3.32.0 removed the undocumented SQLITE_HAS_CODEC hook in 2020, the options are SQLCipher (mature but painful across major versions, AES-256-CBC+HMAC only), the proprietary $2,000 SEE from the SQLite team, and SQLite3MultipleCiphers (community successor that can read SQLCipher formats).

2025

2024

2023

Meta Engineering

Using short-lived certificates to protect TLS secrets

Case study 7 min +70 XP

Meta now limits TLS private key exposure on its edge to 10 days by rotating short-lived certificates daily, after rejecting CRL/OCSP revocation (latency, failure modes), remote signing from datacenters (vulnerable to backbone and datacenter outages) and delegated credentials (insufficient browser support).

2022

Meta Engineering

How Meta enables de-identified authentication at scale

Case study 8 min +80 XP

Meta's Anonymous Credential Service (ACS) authenticates clients without user IDs by splitting authentication into token issuance over an authenticated channel and unlinkable token redemption over an anonymous channel, built on VOPRFs and blind signatures with an HMAC over business data keyed by a shared secret.

That Old Certificate Expired and Started an Outage. This is What Happened Next

Incident 6 min +60 XP

When Let's Encrypt's old root certificate expired on September 30, 2021, Shopify's internal service-to-service HTTPS calls began failing because the Ruby httpclient gem, pulled in transitively by rack-oauth2, openid_connect and google-api-client, ships its own six-year-old cacert.pem that trusted neither the expired root nor the new one.

2021

Meta Engineering

How WhatsApp enables multi-device capability

Deep dive 6 min +60 XP

WhatsApp's new multi-device architecture drops the phone as source of truth: each device gets its own identity key, the server maps accounts to device lists, and senders use client-side fanout to encrypt each message separately over pairwise Signal sessions to every sender and recipient device.

2020

The quest for software engineering knowledge.

Look:
Layout: