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 →

November 2026

How Bee implemented Zero Operator Access for personal AI on AWS

Case study 8 min +80 XP

Bee, Amazon's wearable personal AI, enforces Zero Operator Access by having the user's device release short-lived decryption keys only to EC2 instances whose NitroTPM attestation matches software published in a public Sigstore Rekor transparency log.

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.

October 2026

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.

September 2026

Trail of Bits

Auditing in the age of (good enough) AI

Case study 10 min +100 XP

Before auditing the Miden zero-knowledge VM, Trail of Bits spent six months using Claude and Codex agents to build tooling for its custom stack-based assembly language (MASM): an LSP server, a decompiler with a reusable IR, an abstract-interpretation static analysis engine, and a Lean model of the VM executor.

August 2026

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).

June 2026

May 2026

April 2026

March 2026

February 2026

January 2026

November 2025

October 2025

September 2025

August 2025

July 2025

June 2025

April 2025

March 2025

January 2025

November 2024

October 2024

May 2024

April 2024

March 2024

December 2023

October 2023

September 2023

August 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).

June 2023

April 2023

March 2023

February 2023

January 2023

December 2022

Meta Engineering

Open-sourcing Anonymous Credential Service

Deep dive 9 min +90 XP

Anonymous Credential Service (ACS) lets clients authenticate without revealing identity by splitting authentication into token issuance over an authenticated channel and token redemption over a de-identified channel, using verifiable oblivious pseudorandom functions (VOPRFs) and blind signatures.

Accelerating zk-SNARKs - MSM and NTT algorithms on FPGAs with Hardcaml

Research 8 min +80 XP

A Hardcaml-built FPGA implementation of Pippenger's algorithm for multi-scalar multiplication on the BLS12-377 curve won first place in the ZPrize MSM track, computing a 2^26-point MSM in about 5.08s on an AWS f1.2xlarge at 52W.

November 2022

October 2022

August 2022

April 2022

March 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.

January 2022

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.

December 2021

November 2021

September 2021

August 2021

July 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.

April 2021

The quest for software engineering knowledge.

Look:
Layout: