---
title: "Cryptography"
description: "Ciphers, signatures, TLS internals, post-quantum, protocols"
url: "https://swe.quest/tags/cryptography?per=96"
---

# Cryptography

Topic in Security: Ciphers, signatures, TLS internals, post-quantum, protocols

By difficulty: [Easy](https://swe.quest/tags/cryptography.md?difficulty=easy) · [Medium](https://swe.quest/tags/cryptography.md?difficulty=medium) · [Hard](https://swe.quest/tags/cryptography.md?difficulty=hard)

Posts 1–96 of 98, page 1 of 2, newest first.

## 2026-11-26

- [DNS topics at IETF 127](https://swe.quest/articles/dns-topics-at-ietf-127-bbfd13603e31adc0.md): APNIC Blog · 2026-11-26 · Hard · 16 min read · DNS, Cryptography, Networking
  IETF 127 DNS discussions spanned ICANN's reserved .internal TLD for private namespaces, Optimistic DNS (serving expired cache entries while refreshing), and the choice for post-quantum DNSSEC between Merkle Tree Ladders and 2,420-byte ML-DSA signatures that push resolution onto TCP.

## 2026-11-20

- [How Bee implemented Zero Operator Access for personal AI on AWS](https://swe.quest/articles/how-bee-implemented-zero-operator-access-for-personal-ai-on-aws-8963bf3fef032b45.md): AWS Architecture Blog · 2026-11-20 · Hard · 8 min read · Security, Cryptography, Cloud platforms, Privacy, Sandboxing & isolation
  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.

## 2026-11-12

- [Workflow SDK 5: built for production](https://swe.quest/articles/workflow-sdk-5-built-for-production-8a4967cc859bc936.md): Vercel · 2026-11-12 · Medium · 9 min read · Serverless, Resilience, Performance engineering, Cryptography, AI agents
  Workflow SDK 5 reworks Vercel's durable async JavaScript workflow engine around security, regional placement and performance.

## 2026-11-10

- [Go Turns 17](https://swe.quest/articles/go-turns-17-44df44064c6960cc.md): The Go Blog · 2026-11-10 · Easy · 12 min read · Go, Performance engineering, Developer tools, Cryptography, Memory management
  Go's 17th anniversary recap covers Go 1.26 and 1.27. On the language side, it adds generic methods, self-referential constraints, \`new\` with an initial value, and nested struct literal keys.

## 2026-11-06

- [The post-quantum future of web privacy](https://swe.quest/articles/the-post-quantum-future-of-web-privacy-4a158945977ff986.md): Cloudflare · 2026-11-06 · Hard · 19 min read · Cryptography, Privacy, Identity & auth
  Privacy Pass tokens rely on RSA and elliptic curves, so a quantum attacker could forge them, but redemption remains unconditionally unlinkable even after Q-day.

## 2026-11-03

- [The cryptography behind electronic voting (and why paper ballots are still essential)](https://swe.quest/articles/the-cryptography-behind-electronic-voting-and-why-paper-ballots-are-still-7ac6e492b80d20ab.md): Trail of Bits · 2026-11-03 · Medium · 13 min read · Cryptography, Privacy, Security
  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).
- [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](https://swe.quest/articles/cockroachdb-26-4-one-major-upgrade-a-year-with-skip-level-upgrades-run-active-32aefe70e59e049a.md): Cockroach Labs · 2026-11-03 · Medium · 7 min read · Distributed databases, Databases, Identity & auth, Cryptography, Observability
  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.

## 2026-10-30

- [4 real? Tracking exploitation and patching of eMudhra’s weak keys](https://swe.quest/articles/4-real-tracking-exploitation-and-patching-of-emudhra-s-weak-keys-28b2359b601d1af4.md): Cloudflare · 2026-10-30 · Medium · 7 min read · Cryptography, Incidents & postmortems, Security, Observability
  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.

## 2026-10-26

- [Our Response To The eMudhra Key Disclosure Incident](https://swe.quest/articles/our-response-to-the-emudhra-key-disclosure-incident-6a668fcaaa15ef20.md): The Go Blog · 2026-10-26 · Easy · 6 min read · Cryptography, Go, Incidents & postmortems, Security
  Weak private keys on eight eMudhra-issued intermediate certificates made them recoverable in microseconds, letting attackers mint trusted TLS certificates for any domain.

## 2026-10-14

- [Package managers have an integrity problem](https://swe.quest/articles/package-managers-have-an-integrity-problem-ecf30aa0bc2c3af8.md): Trail of Bits · 2026-10-14 · Medium · 21 min read · Supply chain security, Build systems, Cryptography
  An experiment across 25 popular package managers tested whether each detects a compromised repository injecting malicious code into legitimate packages.

## 2026-10-06

- [NTS: Authenticated Time at Meta](https://swe.quest/articles/nts-authenticated-time-at-meta-0d90b1c43ed13ad4.md): Meta Engineering · 2026-10-06 · Hard · 11 min read · Time & clocks, Cryptography, Networking, Security
  Meta's public time service now supports NTS (RFC 8915) at nts.meta.com, authenticating NTP responses so clients can detect forged time, a growing concern as TLS certificate lifetimes shrink toward 47 days and renewals become unattended.

## 2026-10-02

- [SequenceHash: multihashing for the rest of us](https://swe.quest/articles/sequencehash-multihashing-for-the-rest-of-us-1db642be699fecf4.md): Trail of Bits · 2026-10-02 · Medium · 13 min read · Cryptography, Open source
  SequenceHash and SequenceMAC are hash-agnostic constructions for securely hashing multiple values together, an alternative to NIST's Keccak-only TupleHash that works with SHA-2, BLAKE, RIPEMD and other hashes.

## 2026-10-01

- [Git 3.0's upcoming SHA-256 default will be a costly mistake](https://swe.quest/articles/git-3-0-s-upcoming-sha-256-default-will-be-a-costly-mistake-0a2d59e26ee24f96.md): GitButler · 2026-10-01 · Easy · 17 min read · Version control, Cryptography, Supply chain security
  Git 3.0's planned switch of the default object hash from SHA-1 to SHA-256 will impose large ecosystem-wide migration costs for little practical security benefit.

## 2026-09-25

- [Don't let TEEs break your MPC](https://swe.quest/articles/don-t-let-tees-break-your-mpc-4fc1dadad1320949.md): Trail of Bits · 2026-09-25 · Hard · 12 min read · Cryptography, Sandboxing & isolation, Vulnerability research, Security
  Running threshold signature MPC protocols inside TEEs only helps when the TEE is treated as defense in depth rather than a substitute for a sound protocol.

## 2026-09-24

- [Bringing Private Processing to Meta AI Glasses](https://swe.quest/articles/bringing-private-processing-to-meta-ai-glasses-192fee2c3dbcf977.md): Meta Engineering · 2026-09-24 · Medium · 10 min read · Privacy, Sandboxing & isolation, Cryptography, System design, Inference & serving
  Meta's Private Processing extends the AI glasses trust boundary into the cloud by running models inside confidential VMs on TEE-capable CPUs and GPUs, so host OS, hypervisor and Meta operators see only ciphertext.

## 2026-09-18

- [Auditing in the age of (good enough) AI](https://swe.quest/articles/auditing-in-the-age-of-good-enough-ai-790bce56b92999e7.md): Trail of Bits · 2026-09-18 · Hard · 10 min read · Static analysis, Formal methods, Cryptography, AI agents, Vulnerability research
  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.

## 2026-09-03

- [SQLite Encryption in Production: Key Management, Migration, and Real-World Use Cases](https://swe.quest/articles/sqlite-encryption-in-production-key-management-migration-and-real-world-use-195c59a7a0ad1aab.md): Turso · 2026-09-03 · Medium · 12 min read · SQLite, Cryptography, Privacy, Multi-tenancy, Security
  Production SQLite encryption with Turso fails most often at the key, not the cipher.

## 2026-09-02

- [Encrypting SQLite Databases with Turso: Local, Cloud, and BYOK](https://swe.quest/articles/encrypting-sqlite-databases-with-turso-local-cloud-and-byok-5501c64f071d7d00.md): Turso · 2026-09-02 · Medium · 11 min read · SQLite, Cryptography, Multi-tenancy, Rust
  Turso offers two SQLite encryption models: native, open-source page-level encryption in its Rust rewrite of SQLite (still behind an --experimental-encryption flag, hex keys) and production-ready BYOK on Turso Cloud, where a base64 key is supplied per connection and never persisted by Turso.

## 2026-09-01

- [SQLite Doesn't Come With Encryption. Here's What Developers Actually Use.](https://swe.quest/articles/sqlite-doesn-t-come-with-encryption-here-s-what-developers-actually-use-ebbfd7763f73e8f8.md): Turso · 2026-09-01 · Medium · 11 min read · SQLite, Cryptography, Storage engines
  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).

## 2026-08-28

- [Kubernetes v1.37: Pod Certificates and Cluster Trust Bundles](https://swe.quest/articles/kubernetes-v1-37-pod-certificates-and-cluster-trust-bundles-4441e736a4eb54f1.md): Kubernetes Blog · 2026-08-28 · Medium · 7 min read · Kubernetes, Identity & auth, Cryptography
  Kubernetes 1.37 graduates Pod Certificates and Cluster Trust Bundles to GA, building X.509 certificate issuance for TLS and mTLS into core Kubernetes as a proof-of-possession alternative to bearer-token service account JWTs.

## 2026-08-26

- [Giving Agents Their Own Turso Accounts with AgentID](https://swe.quest/articles/giving-agents-their-own-turso-accounts-with-agentid-27b3b5e49a47c3ed.md): Turso · 2026-08-26 · Medium · 7 min read · Identity & auth, AI agents, Cryptography
  AgentID is an OpenID Connect provider for AI agents: instead of a human completing a browser login, the agent approves an OIDC Authorization Code + PKCE request by signing a compact ES256 JWS (request ID plus inbox ID) with a P-256 key it holds, registered via AgentMail.

## 2026-08-12

- [How We’re Building Scam Alert on WhatsApp With End-to-End Encryption and Verifiability Guarantees](https://swe.quest/articles/how-we-re-building-scam-alert-on-whatsapp-with-end-to-end-encryption-and-e5ad173977a16202.md): Meta Engineering · 2026-08-12 · Hard · 18 min read · Privacy, Security, Machine learning, Communications, Cryptography
  WhatsApp's Scam Alert is an optional feature that runs an on-device ML classifier over messages from non-contacts and shows a private in-chat warning.

## 2026-08-11

- [How Trail of Bits helps verify the integrity of your Signal chats](https://swe.quest/articles/how-trail-of-bits-helps-verify-the-integrity-of-your-signal-chats-a70bf72c9c6eddcc.md): Trail of Bits · 2026-08-11 · Easy · 3 min read · Cryptography, Security, Privacy
  Signal's Automatic Key Verification is a key transparency system that keeps a globally consistent, auditable map from phone numbers to public keys, so a compromised server cannot quietly hand out a false key.
- [Introducing Automatic Key Verification](https://swe.quest/articles/introducing-automatic-key-verification-2aaa055daad25a08.md): Signal · 2026-08-11 · Medium · 17 min read · Cryptography, Communications, Security, Data structures
  Signal's automatic key verification uses key transparency to confirm that the binding between a phone number or username and its public key is globally consistent, giving the same protection against a compromised directory as comparing safety numbers, without meeting in person.

## 2026-08-05

- [A few notes on AWS Nitro Enclaves: KMS integration](https://swe.quest/articles/a-few-notes-on-aws-nitro-enclaves-kms-integration-717dffbbed378c0a.md): Trail of Bits · 2026-08-05 · Hard · 17 min read · Cryptography, Sandboxing & isolation, Cloud platforms, Identity & auth, Security
  Integrating AWS Nitro Enclaves with KMS through PCR-based key policies and attestation-encrypted responses still leaves a range of passive and active attacks on the enclave-KMS channel.

## 2026-06-23

- [PACT: Anonymous Credentials for the Web](https://swe.quest/articles/pact-anonymous-credentials-for-the-web-cc43397c557e8790.md): Mozilla Hacks · 2026-06-23 · Hard · 17 min read · Cryptography, Privacy, Threat detection, Browsers, Identity & auth
  PACT (Private Access Control Tokens) is a proposed design for privacy-preserving rate limiting on the open web, letting sites block volumetric bot abuse without demanding identity or hardware attestation.

## 2026-06-18

- [How to build an encrypted secrets vault for agents](https://swe.quest/articles/how-to-build-an-encrypted-secrets-vault-for-agents-471dd9551705613b.md): Turso · 2026-06-18 · Medium · 8 min read · AI agents, SQLite, Security, Cryptography
  A local secrets vault for coding agents can be built as a single encrypted Turso database.

## 2026-06-16

- [Why we chose Turso to secure AI credentials](https://swe.quest/articles/why-we-chose-turso-to-secure-ai-credentials-d8af40123ec1f1e5.md): Turso · 2026-06-16 · Medium · 11 min read · SQLite, Rust, Cryptography, PostgreSQL, AI agents
  Eden, a gateway and control plane for database, API and AI traffic, uses Turso's in-process SQLite-compatible storage with AES-256-GCM whole-database encryption so a single Rust binary can run beside the workloads it governs without a separate Postgres.

## 2026-05-27

- [Private analytics via zero-trust aggregation](https://swe.quest/articles/private-analytics-via-zero-trust-aggregation-060bfb6ed5bdc13c.md): Google Research · 2026-05-27 · Hard · 6 min read · Cryptography, Privacy, Analytics & OLAP, Security
  Google's private analytics service now layers a new lattice-based, one-shot secure aggregation protocol on top of TEE execution, so individual device data is never decrypted in server memory even if the enclave is compromised by side-channel attacks.

## 2026-04-16

- [Post-Quantum Cryptography Migration at Meta: Framework, Lessons, and Takeaways](https://swe.quest/articles/post-quantum-cryptography-migration-at-meta-framework-lessons-and-takeaways-5ce039d3ec6b2968.md): Meta Engineering · 2026-04-16 · Medium · 13 min read · Cryptography, Security
  Meta proposes PQC Migration Levels (PQ-Unaware, Aware, Ready, Hardened, Enabled) as a way to track how quickly each use case could respond to a quantum threat.

## 2026-03-31

- [Safeguarding cryptocurrency by disclosing quantum vulnerabilities responsibly](https://swe.quest/articles/safeguarding-cryptocurrency-by-disclosing-quantum-vulnerabilities-responsibly-1fee66e471cb8bf5.md): Google Research · 2026-03-31 · Hard · 5 min read · Cryptography, Security
  New resource estimates show Shor's algorithm can break 256-bit elliptic curve cryptography (ECDLP-256) using two compiled circuits.

## 2026-03-25

- [Security for the Quantum Era: Implementing Post-Quantum Cryptography in Android](https://swe.quest/articles/security-for-the-quantum-era-implementing-post-quantum-cryptography-in-android-0835e7f58fdd3872.md): Google Online Security Blog · 2026-03-25 · Easy · 4 min read · Cryptography, Mobile, Supply chain security
  Android 17 adds NIST post-quantum cryptography across its chain of trust.

## 2026-03-09

- [How Advanced Browsing Protection Works in Messenger](https://swe.quest/articles/how-advanced-browsing-protection-works-in-messenger-7c673f722bfcb274.md): Meta Engineering · 2026-03-09 · Hard · 12 min read · Privacy, Cryptography, Sandboxing & isolation, Communications, Security
  Advanced Browsing Protection checks links clicked in end-to-end encrypted Messenger chats against a large, frequently updated blocklist while revealing as little as possible about the URL to Meta.

## 2026-03-05

- [Ctrl-C in psql gives me the heebie-jeebies](https://swe.quest/articles/ctrl-c-in-psql-gives-me-the-heebie-jeebies-e2b63a9641ee547d.md): Neon · 2026-03-05 · Medium · 6 min read · PostgreSQL, Networking, Security, Cryptography
  Postgres cancels queries via a separate CancelRequest connection identified only by a process ID and secret key, and psql still sends it in plaintext even when the main connection uses strict TLS, because libpq's encrypted cancel functions (added in Postgres 17) aren't signal-safe for psql yet.

## 2026-02-27

- [Cultivating a robust and efficient quantum-safe HTTPS](https://swe.quest/articles/cultivating-a-robust-and-efficient-quantum-safe-https-15f91f978ba80408.md): Google Online Security Blog · 2026-02-27 · Easy · 5 min read · Cryptography, Browsers, Security
  Chrome will not add post-quantum X.509 certificates to its root store and is instead pursuing Merkle Tree Certificates (MTCs), being standardized in the IETF PLANTS working group.

## 2026-02-24

- [Can you reverse engineer our neural network?](https://swe.quest/articles/can-you-reverse-engineer-our-neural-network-86a50d8d5fe35d5c.md): Jane Street Tech Blog · 2026-02-24 · Hard · 12 min read · Machine learning, AI safety, Cryptography, Algorithms
  A Jane Street ML puzzle shipped a fully specified, hand-built PyTorch network with integer weights that outputs 0 for almost every input, and the writeup follows one solver's path to cracking it.

## 2026-02-18

- [Introducing BYOK Encryption in Turso Cloud](https://swe.quest/articles/introducing-byok-encryption-in-turso-cloud-25db96acfd02640f.md): Turso · 2026-02-18 · Medium · 3 min read · Cryptography, SQLite, Databases, Privacy
  Bring-Your-Own-Key encryption, previously Enterprise-only, is now available to self-service Turso Cloud customers starting on the Pro Plan.

## 2026-01-22

- [Your Dependencies Don’t Care About Your FIPS Configuration](https://swe.quest/articles/your-dependencies-don-t-care-about-your-fips-configuration-c719fbf5e05d7dd0.md): Docker · 2026-01-22 · Medium · 5 min read · Supply chain security, Cryptography, Containers, Ruby
  FIPS-enabled container images can still run non-FIPS crypto because prebuilt native dependencies bring their own crypto linkage.

## 2025-11-20

- [Key Transparency Comes to Messenger](https://swe.quest/articles/key-transparency-comes-to-messenger-708dc659c9b4f0af.md): Meta Engineering · 2025-11-20 · Easy · 3 min read · Cryptography, Communications, Security
  Messenger now supports key transparency verification for end-to-end encrypted one-on-one chats, letting users automatically confirm that contacts' public keys haven't been swapped by a compromised server instead of comparing per-device keys manually.

## 2025-11-14

- [How we avoided side-channels in our new post-quantum Go cryptography libraries](https://swe.quest/articles/how-we-avoided-side-channels-in-our-new-post-quantum-go-cryptography-libraries-8fe38a6e055d44ab.md): Trail of Bits · 2025-11-14 · Hard · 6 min read · Cryptography, Go, Open source
  Trail of Bits released pure-Go, open-source implementations of the NIST post-quantum signature schemes ML-DSA (FIPS-204) and SLH-DSA (FIPS-205), engineered to run in constant time.

## 2025-10-07

- [Introducing Fast, Native Encryption in Turso Database](https://swe.quest/articles/introducing-fast-native-encryption-in-turso-database-3bdde23a22f614e0.md): Turso · 2025-10-07 · Medium · 4 min read · SQLite, Cryptography, Storage engines, Rust, Performance engineering
  Turso Database, a Rust rewrite of SQLite, now supports native encryption at rest using AEAD ciphers (AEGIS-256 and AES-GCM).

## 2025-10-03

- [Online Identity Verification with the Digital Credentials API](https://swe.quest/articles/online-identity-verification-with-the-digital-credentials-api-87bc1723a601958c.md): WebKit · 2025-10-03 · Medium · 8 min read · Identity & auth, Browsers, Privacy, Cryptography
  Safari 26 on macOS, iOS and iPadOS adds support for the W3C Digital Credentials API, letting websites request mobile IDs (ISO/IEC 18013-5/-7 mdocs) from Apple Wallet and third-party wallets instead of photo-and-selfie ID uploads.

## 2025-10-02

- [Signal Protocol and Post-Quantum Ratchets](https://swe.quest/articles/signal-protocol-and-post-quantum-ratchets-12284f0594462a50.md): Signal · 2025-10-02 · Hard · 26 min read · Cryptography, Communications
  Signal adds the Sparse Post Quantum Ratchet (SPQR), a continuously advancing ML-KEM-based ratchet whose output is mixed with the existing Double Ratchet to form a "Triple Ratchet".

## 2025-09-15

- [Post-quantum security for SSH access on GitHub](https://swe.quest/articles/post-quantum-security-for-ssh-access-on-github-48c898bb38241343.md): GitHub Engineering · 2025-09-15 · Medium · 3 min read · Cryptography, Networking
  GitHub is adding the hybrid post-quantum SSH key exchange sntrup761x25519-sha512 (Streamlined NTRU Prime combined with X25519 ECDH) to its Git SSH endpoints on September 17, 2025.

## 2025-08-19

- [CRLite: Fast, private, and comprehensive certificate revocation checking in Firefox](https://swe.quest/articles/crlite-fast-private-and-comprehensive-certificate-revocation-checking-in-firefox-f6bc82a7fbd70f3e.md): Mozilla Hacks · 2025-08-19 · Medium · 5 min read · Cryptography, Browsers, Data structures, Privacy, Performance engineering
  Firefox 137 enabled CRLite for all desktop users, giving comprehensive, private certificate revocation checking.

## 2025-08-06

- [Accelerating FedRAMP Compliance with Docker Hardened Images](https://swe.quest/articles/accelerating-fedramp-compliance-with-docker-hardened-images-da4f6b04ea3ab82c.md): Docker · 2025-08-06 · Easy · 6 min read · Supply chain security, Containers, Security, Cryptography
  Docker Hardened Images now ship FIPS 140-compliant and STIG-hardened variants, aimed at two of the hardest FedRAMP hurdles.

## 2025-07-14

- [Introducing JWT Signing Keys](https://swe.quest/articles/introducing-jwt-signing-keys-979b097fede857fb.md): Supabase · 2025-07-14 · Medium · 5 min read · Identity & auth, Cryptography, PostgreSQL
  Supabase Auth now supports asymmetric JWT signing keys (RSA or elliptic curve), letting apps verify tokens locally using public keys published at a JWKS endpoint instead of calling the Auth server or sharing a forgeable secret.

## 2025-06-25

- [Why Postgres needs better connection security defaults](https://swe.quest/articles/why-postgres-needs-better-connection-security-defaults-d78d4b6f863ed01c.md): Neon · 2025-06-25 · Medium · 8 min read · PostgreSQL, Cryptography, Identity & auth, Security
  Postgres's widely used sslmode=require encrypts connections but never authenticates the server, leaving them open to trivial MITM attacks via a self-signed certificate and DNS poisoning.

## 2025-04-29

- [Building Private Processing for AI tools on WhatsApp](https://swe.quest/articles/building-private-processing-for-ai-tools-on-whatsapp-0d604d802592db97.md): Meta Engineering · 2025-04-29 · Hard · 12 min read · Security, Cryptography, Privacy, Inference & serving, LLMs
  Private Processing lets WhatsApp users send messages to server-side AI features such as summarization and writing suggestions without Meta or WhatsApp being able to read them.

## 2025-03-25

- [Bun v1.2.6](https://swe.quest/articles/bun-v1-2-6-f72795d94f6eaf67.md): Bun · 2025-03-25 · Medium · 11 min read · JavaScript, Runtimes & VMs, Cryptography, Performance engineering
  Bun v1.2.6 fixes 74 bugs and rewrites more of node:crypto (Cipheriv/Decipheriv, DiffieHellman, ECDH, randomBytes) in native code on BoringSSL, with benchmarks showing AES-256-GCM going from ~1.15 ms to ~3.5 µs per iteration and scrypt from 365 ms to 47 ms. node:http compatibility work makes Express 9% and Fastify 5.4% faster.

## 2025-01-27

- [A Synchronized Start for Linked Devices](https://swe.quest/articles/a-synchronized-start-for-linked-devices-cdf813a15b92ebf8.md): Signal · 2025-01-27 · Medium · 10 min read · Cryptography, Communications, Privacy, Mobile
  Signal now lets users transfer message history and the last 45 days of media when linking a new Desktop or iPad, without exposing data to the server.

## 2025-01-20

- [JSON Web Keys (JWK): Rotating Cryptographic Keys at Zalando](https://swe.quest/articles/json-web-keys-jwk-rotating-cryptographic-keys-at-zalando-70034281fe17c9eb.md): Zalando Engineering · 2025-01-20 · Medium · 4 min read · Identity & auth, Cryptography
  Zalando's OIDC identity provider rotates its JWT signing keys automatically on a schedule, using a phased process so clients are never disrupted.

## 2024-11-29

- [WTF Are JWTs?](https://swe.quest/articles/wtf-are-jwts-d314ec0dbdbc99c8.md): Neon · 2024-11-29 · Medium · 9 min read · Identity & auth, PostgreSQL, Cryptography, Multi-tenancy
  JSON Web Tokens are compact, signed, self-contained tokens made of three base64url segments (header, payload of registered and custom claims, and an HMAC or RSA signature).

## 2024-11-12

- [How Meta built large-scale cryptographic monitoring](https://swe.quest/articles/how-meta-built-large-scale-cryptographic-monitoring-007f3fb06e949eb9.md): Meta Engineering · 2024-11-12 · Medium · 10 min read · Cryptography, Observability, Scaling, C & C++
  Meta logs every operation in FBCrypto, its managed cryptographic library, without sampling by aggregating identical events into per-event counts in an in-process buffer and flushing them periodically to Scribe, with data landing in Scuba and Hive.

## 2024-10-22

- [IPLS: Privacy-preserving storage for your WhatsApp contacts](https://swe.quest/articles/ipls-privacy-preserving-storage-for-your-whatsapp-contacts-415f2b1b7c1eba74.md): Meta Engineering · 2024-10-22 · Easy · 5 min read · Cryptography, Privacy, Identity & auth, Communications
  WhatsApp's Identity Proof Linked Storage (IPLS) stores contact names encrypted with a client-generated symmetric key, and keeps that key in an HSM-based Key Vault reachable only over an end-to-end encrypted channel.

## 2024-05-22

- [Post-quantum readiness for TLS at Meta](https://swe.quest/articles/post-quantum-readiness-for-tls-at-meta-92c6471e952cc018.md): Meta Engineering · 2024-05-22 · Hard · 8 min read · Cryptography, Networking, Concurrency, Debugging
  Meta has deployed hybrid X25519+Kyber key exchange in its Fizz TLS library for most internal service traffic, prioritizing store-now-decrypt-later protection where it controls both endpoints.

## 2024-05-21

- [Password Complexity, Hash Iterations and Entropy](https://swe.quest/articles/password-complexity-hash-iterations-and-entropy-cfe7b612d3cb811d.md): Neon · 2024-05-21 · Medium · 5 min read · Cryptography, Identity & auth, PostgreSQL, Performance engineering
  Neon can safely cut SCRAM-SHA-256 PBKDF2 iterations from 4096 to 1 to reduce connection CPU cost, because its database passwords are randomly generated and dictionary attacks therefore don't apply.

## 2024-04-16

- [Upgrading 3 Million Variables to Envelope Encryption](https://swe.quest/articles/upgrading-3-million-variables-to-envelope-encryption-eb068fd9d30969a4.md): Railway · 2024-04-16 · Medium · 6 min read · Cryptography, Schema migrations, Cloud platforms, Security
  Railway replaced direct per-variable calls to GCP KMS with envelope encryption: a locally generated AES-256-GCM data key per environment, encrypted once by KMS and serialized alongside each ciphertext.
- [Running Privacy-Preserving Inferences on Hugging Face Endpoints](https://swe.quest/articles/running-privacy-preserving-inferences-on-hugging-face-endpoints-de0383d315f32496.md): Hugging Face · 2024-04-16 · Medium · 8 min read · Privacy, Inference & serving, Cryptography, Machine learning, Python
  Zama's Concrete ML models, compiled for Fully Homomorphic Encryption (FHE), can be deployed as Hugging Face Inference Endpoints using custom inference handlers.

## 2024-03-06

- [Making messaging interoperability with third parties safe for users in Europe](https://swe.quest/articles/making-messaging-interoperability-with-third-parties-safe-for-users-in-europe-9b70d7b99df3e105.md): Meta Engineering · 2024-03-06 · Medium · 7 min read · Communications, Cryptography, Identity & auth, System design, Privacy
  To comply with the EU Digital Markets Act, WhatsApp and Messenger now let eligible third-party messaging services interoperate for 1:1 text and media, with group chats and calling to follow.

## 2023-12-07

- [Building end-to-end security for Messenger](https://swe.quest/articles/building-end-to-end-security-for-messenger-0573da5f5bbc2217.md): Meta Engineering · 2023-12-07 · Easy · 7 min read · Cryptography, Communications, Privacy, Security
  Messenger is rolling out end-to-end encryption by default for personal one-to-one chats, built on the Signal protocol and accompanied by two whitepapers covering the messaging protocol and Labyrinth, a new encrypted storage protocol.

## 2023-12-01

- [Automatic CLI login](https://swe.quest/articles/automatic-cli-login-af926eb4c9b0806e.md): Supabase · 2023-12-01 · Medium · 3 min read · Identity & auth, Cryptography, Developer tools
  Supabase CLI 1.114.0 replaces the manual copy-paste token flow with a browser-based automatic login. \`supabase login\` generates a session UUID, a token name and an ephemeral P-256 ECDH key pair, then opens a dashboard URL carrying the public key.

## 2023-10-05

- [MITM attacks are easier to avoid with psql (Postgres) 16](https://swe.quest/articles/mitm-attacks-are-easier-to-avoid-with-psql-postgres-16-ea4ca88c3d78880f.md): Neon · 2023-10-05 · Medium · 8 min read · PostgreSQL, Cryptography, Security, Identity & auth
  Postgres 16's psql adds \`sslrootcert=system\`, which uses the OS's trusted CA store and implies \`sslmode=verify-full\`.

## 2023-09-19

- [Quantum Resistance and the Signal Protocol](https://swe.quest/articles/quantum-resistance-and-the-signal-protocol-c3f2777c1bd78ede.md): Signal · 2023-09-19 · Easy · 6 min read · Cryptography, Communications
  Signal is upgrading its X3DH key agreement to PQXDH, which derives the session shared secret from both X25519 elliptic-curve key agreement and the CRYSTALS-Kyber post-quantum key encapsulation mechanism, so an attacker must break both to recover keys.

## 2023-08-08

- [How Meta is improving password security and preserving privacy](https://swe.quest/articles/how-meta-is-improving-password-security-and-preserving-privacy-daa9a84182d0e924.md): Meta Engineering · 2023-08-08 · Medium · 6 min read · Cryptography, Privacy, Identity & auth, Security
  Meta's Private Data Lookup (PDL) checks new passwords against breached-password datasets using Private Set Intersection, so the server learns neither the attempted password nor whether it matched.

## 2023-08-07

- [Using short-lived certificates to protect TLS secrets](https://swe.quest/articles/using-short-lived-certificates-to-protect-tls-secrets-b95eb80ecde3a8e1.md): Meta Engineering · 2023-08-07 · Medium · 7 min read · Cryptography, Security, CDN & edge, Deployment
  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).

## 2023-08-02

- [Towards Encrypted Large Language Models with FHE](https://swe.quest/articles/towards-encrypted-large-language-models-with-fhe-6e22ac5193234b25.md): Hugging Face · 2023-08-02 · Hard · 7 min read · Cryptography, Privacy, Inference & serving, LLMs
  A single attention head of GPT2's first multi-head attention layer can run on encrypted data using TFHE via Zama's Concrete-Python and Concrete-ML, with the rest of the model executing in plaintext on the client.

## 2023-06-09

- [Bun v0.6.8](https://swe.quest/articles/bun-v0-6-8-d3a463075fc8738e.md): Bun · 2023-06-09 · Medium · 7 min read · JavaScript, Testing, Runtimes & VMs, Cryptography
  Bun v0.6.8 adds a built-in Bun.password API for argon2 (default) and bcrypt password hashing.

## 2023-04-13

- [Deploying key transparency at WhatsApp](https://swe.quest/articles/deploying-key-transparency-at-whatsapp-0e23deb403e7d86e.md): Meta Engineering · 2023-04-13 · Medium · 9 min read · Cryptography, Communications, Rust, Security
  WhatsApp now automatically verifies end-to-end encryption keys using key transparency: the server maintains an append-only Auditable Key Directory (AKD) mapping accounts to public keys, and every change emits a privacy-preserving audit proof to public storage that anyone can verify.

## 2023-03-28

- [Quicker serverless Postgres connections](https://swe.quest/articles/quicker-serverless-postgres-connections-7a37a1071edd4362.md): Neon · 2023-03-28 · Medium · 8 min read · PostgreSQL, Networking, Serverless, Performance engineering, Cryptography
  Neon cut the network round-trips needed to get a first query result from its WebSocket-based serverless Postgres driver from nine to four.

## 2023-02-20

- [How Wise bootstraps Spinnaker using ArgoCD](https://swe.quest/articles/how-wise-bootstraps-spinnaker-using-argocd-2cfdda8463ccd448.md): Wise Engineering · 2023-02-20 · Medium · 7 min read · Deployment, Kubernetes, Infrastructure as code, Cryptography, CI/CD
  Wise installs and manages both its staging and production Spinnaker instances with ArgoCD, using the App of Apps pattern and Kustomize to deploy the Spinnaker Operator and SpinnakerService manifests.

## 2023-01-19

- [ClickHouse Newsletter January 2023: Better Safe Than Sorry](https://swe.quest/articles/clickhouse-newsletter-january-2023-better-safe-than-sorry-86f3c43fcf5ac992.md): ClickHouse · 2023-01-19 · Medium · 6 min read · Analytics & OLAP, Databases, Cryptography, SQL
  ClickHouse's January 2023 newsletter lists upcoming webinars and recaps the 22.12 release.

## 2022-12-16

- [Supabase Vault is now in Beta](https://swe.quest/articles/supabase-vault-is-now-in-beta-56d546a7bcadd895.md): Supabase · 2022-12-16 · Medium · 6 min read · PostgreSQL, Cryptography, Security, Privacy
  Supabase Vault is a Postgres extension and dashboard UI for storing encrypted secrets and encrypting columns, built on pgsodium's Transparent Column Encryption.

## 2022-12-12

- [Open-sourcing Anonymous Credential Service](https://swe.quest/articles/open-sourcing-anonymous-credential-service-83bd56402e747934.md): Meta Engineering · 2022-12-12 · Hard · 9 min read · Cryptography, Privacy, Identity & auth, Open source
  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.

## 2022-12-08

- [Edge-compatible Serverless Driver for Postgres](https://swe.quest/articles/edge-compatible-serverless-driver-for-postgres-9b0d09c6c7a067d0.md): Neon · 2022-12-08 · Medium · 9 min read · PostgreSQL, Serverless, Networking, Cryptography, WebAssembly
  Neon's @neondatabase/serverless driver lets V8-isolate platforms like Cloudflare Workers, which lack TCP, speak the real Postgres wire protocol by tunnelling it over a WebSocket to an open-source Go proxy that relays to TCP.

## 2022-12-07

- [Accelerating zk-SNARKs - MSM and NTT algorithms on FPGAs with Hardcaml](https://swe.quest/articles/accelerating-zk-snarks-msm-and-ntt-algorithms-on-fpgas-with-hardcaml-e0e40be298934874.md): Jane Street Tech Blog · 2022-12-07 · Hard · 8 min read · Hardware, Cryptography, Algorithms, Performance engineering, Functional programming
  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.

## 2022-11-17

- [Sentiment Analysis on Encrypted Data with Homomorphic Encryption](https://swe.quest/articles/sentiment-analysis-on-encrypted-data-with-homomorphic-encryption-62bd5104a9f4964a.md): Hugging Face · 2022-11-17 · Medium · 8 min read · Privacy, Cryptography, Machine learning, Inference & serving, Python
  Sentiment classification can run on encrypted text by computing a transformer (RoBERTa) hidden representation on the client, then running a quantized XGBoost classifier under fully homomorphic encryption with Concrete-ML.

## 2022-11-03

- [How GitHub converts previously encrypted and unencrypted columns to ActiveRecord encrypted columns](https://swe.quest/articles/how-github-converts-previously-encrypted-and-unencrypted-columns-to-7a6a32eb2ff23c82.md): GitHub Engineering · 2022-11-03 · Medium · 7 min read · Ruby, Cryptography, Schema migrations, Security, Deployment
  GitHub migrated plaintext columns and columns encrypted with a deprecated internal library to ActiveRecord::Encryption.

## 2022-10-26

- [Why and how GitHub encrypts sensitive database columns using ActiveRecord::Encryption](https://swe.quest/articles/why-and-how-github-encrypts-sensitive-database-columns-using-activerecord-4abc36e2a491f04c.md): GitHub Engineering · 2022-10-26 · Medium · 5 min read · Cryptography, Ruby, Databases, Security
  GitHub replaced its internal Encrypted Attributes library with Rails' ActiveRecord::Encryption so developers can encrypt a sensitive column with a single familiar \`encrypts\` call, without hand-provisioning a key per column.

## 2022-10-25

- [More Than 2x Faster Hashing in ClickHouse Using Rust](https://swe.quest/articles/more-than-2x-faster-hashing-in-clickhouse-using-rust-404bde5cc500d24b.md): ClickHouse · 2022-10-25 · Medium · 5 min read · Rust, C & C++, Build systems, Performance engineering, Cryptography
  ClickHouse added optional Rust library support to its C++/CMake build using Corrosion-rs, with BLAKE3 as the first library, exposed to C++ through a Rust shim function using C-compatible FFI types and a header file.

## 2022-10-05

- [The Engineering Story Behind Flex Comp](https://swe.quest/articles/the-engineering-story-behind-flex-comp-ab1f6b48724dc8fa.md): Shopify Engineering · 2022-10-05 · Medium · 15 min read · Privacy, Cryptography, Queues & messaging, React, Product engineering
  Shopify built Flex Comp, a system letting employees split total compensation between base salary, RSUs and stock options, under tight deadlines and strict privacy constraints.

## 2022-08-19

- [Supabase Vault](https://swe.quest/articles/supabase-vault-3db5f31fada1a63f.md): Supabase · 2022-08-19 · Medium · 5 min read · PostgreSQL, Cryptography, Security
  Supabase Vault is a Postgres extension, built as a thin layer over pgsodium and libsodium, that stores secrets such as API keys and access tokens encrypted on disk and in backups.
- [Technology Deep Dive: Building a Faster ORAM Layer for Enclaves](https://swe.quest/articles/technology-deep-dive-building-a-faster-oram-layer-for-enclaves-6cb958aaa2507db9.md): Signal · 2022-08-19 · Medium · 16 min read · Privacy, Cryptography, Sandboxing & isolation, Algorithms, Communications
  Signal replaced linear-scan oblivious memory access in its SGX enclaves with a Path ORAM layer, so contact discovery can run efficient algorithms like binary search without leaking which phone numbers are looked up through RAM access patterns.

## 2022-04-11

- [Private Click Measurement: Conversion Fraud Prevention and Replacement For Tracking Pixels](https://swe.quest/articles/private-click-measurement-conversion-fraud-prevention-and-replacement-for-769973c036d0d7a0.md): WebKit · 2022-04-11 · Medium · 5 min read · Privacy, Ads, Browsers, Cryptography
  Private Click Measurement in iOS/iPadOS 15.4 and macOS Monterey 12.3 adds conversion fraud prevention, letting merchant sites sign unlinkable RSA blind-signature tokens.

## 2022-03-30

- [How Meta enables de-identified authentication at scale](https://swe.quest/articles/how-meta-enables-de-identified-authentication-at-scale-aba1c4d5d1b717ac.md): Meta Engineering · 2022-03-30 · Medium · 8 min read · Privacy, Cryptography, Identity & auth, Multi-tenancy, Scaling
  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.

## 2022-01-20

- [Deno 1.18 Release Notes](https://swe.quest/articles/deno-1-18-release-notes-dd7db9eed1246f59.md): Deno · 2022-01-20 · Medium · 10 min read · JavaScript, TypeScript, Runtimes & VMs, Cryptography, Developer tools
  Deno 1.18 completes its Web Cryptography API implementation, adding AES-GCM, AES-CTR, AES-KW and P-384 support, and now passes 98.1% of web platform tests, ahead of Chrome and Firefox.

## 2022-01-12

- [That Old Certificate Expired and Started an Outage. This is What Happened Next](https://swe.quest/articles/that-old-certificate-expired-and-started-an-outage-this-is-what-happened-next-8e9755960d247908.md): Shopify Engineering · 2022-01-12 · Medium · 6 min read · Incidents & postmortems, Cryptography, Ruby, Supply chain security, Deployment
  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-12-15

- [How to build large-scale end-to-end encrypted group video calls](https://swe.quest/articles/how-to-build-large-scale-end-to-end-encrypted-group-video-calls-af2fa574ffb4fc37.md): Signal · 2021-12-15 · Hard · 14 min read · Video & media, Communications, Networking, Rust, Cryptography
  Signal scaled end-to-end encrypted group calls from 5 to 40 participants by writing its own open source Selective Forwarding Unit in Rust, after a modified off-the-shelf SFU couldn't get past 8 participants because of server CPU usage.

## 2021-11-29

- [The Case of the Recursive Resolvers](https://swe.quest/articles/the-case-of-the-recursive-resolvers-401d01cc3239f3e3.md): Slack Engineering · 2021-11-29 · Medium · 15 min read · DNS, Incidents & postmortems, Cryptography, Cloud platforms
  Slack's third attempt to enable DNSSEC on slack.com caused a 24-hour outage for under 1% of users.

## 2021-09-14

- [Deno 1.14 Release Notes](https://swe.quest/articles/deno-1-14-release-notes-0f974fdd237aefd4.md): Deno · 2021-09-14 · Medium · 8 min read · Runtimes & VMs, JavaScript, TypeScript, Cryptography
  Deno 1.14 expands the Web Crypto API (RSA-OAEP, ECDH, AES generation, PBKDF2/HKDF derivation, ECDSA verify), makes \`deno lint\` and \`deno fmt\` configurable through the shared \`--config\` file, adds unstable URLPattern, and stabilizes \`Deno.upgradeWebSocket()\`.

## 2021-09-10

- [How WhatsApp is enabling end-to-end encrypted backups](https://swe.quest/articles/how-whatsapp-is-enabling-end-to-end-encrypted-backups-462b4d8e6c3fd1c4.md): Meta Engineering · 2021-09-10 · Easy · 3 min read · Cryptography, Privacy, Mobile, Communications
  WhatsApp is adding optional end-to-end encrypted backups for iCloud and Google Drive, so neither WhatsApp nor the cloud provider can read backups or their keys.

## 2021-08-04

- [Open sourcing Winterfell: A STARK prover and verifier](https://swe.quest/articles/open-sourcing-winterfell-a-stark-prover-and-verifier-ba01891a98a63a0e.md): Meta Engineering · 2021-08-04 · Easy · 6 min read · Cryptography, Rust, Open source, Privacy
  Winterfell is a general-purpose STARK prover and verifier written in Rust and published as v0.1 on crates.io, aimed at making computational-integrity and zero-knowledge proofs usable without deep cryptographic expertise.

## 2021-07-29

- [PCM: Click Fraud Prevention and Attribution Sent to Advertiser](https://swe.quest/articles/pcm-click-fraud-prevention-and-attribution-sent-to-advertiser-5edbf9c4626a94b0.md): WebKit · 2021-07-29 · Medium · 8 min read · Privacy, Browsers, Ads, Cryptography, Threat detection
  Private Click Measurement in Safari 15 (iOS/iPadOS 15, macOS Monterey) gains three updates.

## 2021-07-14

- [How WhatsApp enables multi-device capability](https://swe.quest/articles/how-whatsapp-enables-multi-device-capability-b0c5b9accf94ba1b.md): Meta Engineering · 2021-07-14 · Medium · 6 min read · Cryptography, Communications, Privacy, System design
  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.

## 2021-07-12

- [Enforcing encryption at scale](https://swe.quest/articles/enforcing-encryption-at-scale-123c858612356c4f.md): Meta Engineering · 2021-07-12 · Hard · 7 min read · Linux, Security, Cryptography, Networking
  Meta enforces TLS on internal service traffic with SSLWall, a host-level daemon plus eBPF programs that detect and cut off plaintext connections, chosen over L7 firewalls to keep the blast radius small and allow fine-grained rollout.

## 2021-04-16

- [DIT — enabling de-identified data collection on WhatsApp](https://swe.quest/articles/dit-enabling-de-identified-data-collection-on-whatsapp-d2473df44a648273.md): Meta Engineering · 2021-04-16 · Hard · 8 min read · Privacy, Cryptography, Observability, Identity & auth
  WhatsApp's De-identified Telemetry (DIT) collects usage, reliability and performance data without linking it to a user.

[Next page](https://swe.quest/tags/cryptography.md?per=96&page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=cryptography](https://swe.quest/feed.xml?tag=cryptography). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
