---
title: "Cryptography (medium)"
description: "Ciphers, signatures, TLS internals, post-quantum, protocols"
url: "https://swe.quest/tags/cryptography?difficulty=medium&per=48"
---

# Cryptography (medium)

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–48 of 62, page 1 of 2, newest first.

## 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-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-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-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-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-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-11

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

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

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=cryptography](https://swe.quest/feed.xml?difficulty=medium&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)
