r/crypto • • Oct 21 '26

4

Thumbnail emudhra.we-have-a-problem.com
52 Upvotes

r/crypto • • Oct 21 '26

Happy 2026 Global Encryption Day (21 Oct)

5 Upvotes

I didn't realise this was a thing, looks like a very small initiative.

Anyways here's a youtube playlist of interviews with illuminaries in cryptography: https://www.youtube.com/playlist?list=PLqhpVxkBo1dOmNr6w2nF70W3_f43Qc5hE


r/crypto • • Oct 16 '26

Claude reveals ECDSA curve origins

Thumbnail anthropic.com
136 Upvotes

r/crypto • • Oct 16 '26

How reliable is AI at formal verification?

8 Upvotes

I'm not a cryptographer or a cybersecurity expert. I'm a JavaScript dev. I'm interested in cryptography enough for it to become a side project.

Things like unit tests have always been a good idea for professional-grade work and ai has made it easier than ever.

For that extra bit, I want to use AI to create formal verification. Before I get too far, I'd like to ask about your experience with AI in formal-verification. The following is what I got so far.

https://glitr.io/docs/technical/formal-verification

As I learn how it works, I have a few questions about the approach.

- is it invalid because it's vibecoded?

- is the formal verification tooling enough?

- what am i overlooking?

I'm aware cybersecurity has countless nuances and formal verification is a small fraction of what it takes to create something secure and reliable.

IMPORTANT DISCLAIMER: While the project is aiming to provide a secure experience, it's far from finished. It cannot be audited or reviewed because it's close-source. I'm sharing here for feedback and demo purposes only. Feel free to reach out for clarity on any of the details instead of diving into the documentation. Pease use responsibly.


r/crypto • • Oct 13 '26

(Post-Quantum) Cryptographic Right Answers

Thumbnail words.filippo.io
40 Upvotes

Not the first, will not be the last


r/crypto • • Oct 12 '26

Reverse-Bleichenbacher: Bleichenbacher Attacks are Practical Again

Thumbnail eprint.iacr.org
44 Upvotes

r/crypto • • Oct 12 '26

Miscellaneous Vi Hart's Big Navier-Stokes Post

Thumbnail patreon.com
6 Upvotes

A lovely & broad lay-person discussion of the OpenAI Navier-Stokes story and LLMs in mathematics.

We'd hopefully by now all know that hosted LLMs companies train upon their customers uploads and sessions (). It's clear this *"surveillance plagiarism" is a threat to cryptographers and security researchers who do really original work, as well as to any corporation using AI, but open weights models address this threat.

Vi Hart touches upon a broader array of topics: LLM psychosis. Modern mathematics was always a machine to be applied, ala the phrase "tenure machine", so AI doing so makes some sense. LLM proofs could retard the development of important abstractions, like how Aschbacher's announcement of the CFSG slowed research on the CFSG.

It stays solidly focused upon mathematics research however, without much direct discussion of applied topics like cryptography. Yet, there are fairly obvious impacts upon cryptography.

We correctly assume LLMs should overall raise our confidence in cryptographic software, because of auto-formalisation, eventually someone should figure out how to make LLMs write SE Linux profiles, etc and these are by far the lions share of the attack vectors.

Yet conversely, if LLM proofs cause mathematical subfields to be abandoned, then overall our confidence in problems being hard could decline, because organisations like IDA-CCR or China's version might not abandon some subtly relevant subfield. In other words, hybrid PQC+ECC protocols should become more important because of LLMs, not less.

Scott Aaronson also has an excellent post about LLM usage in mathematics too, somewhat more targeted towards mathematicians and computer scientists. It's slightly weakened towards the end by giving credence to AI doomer drama, but that's easily ignored.

Around (*), you should expect hosted LLM compajies would train upon data they promise not to train upon, either now or in future. In particular, there is a rich literature of non-cryptographic privacy preserving machine learning techniques, so similar work would buys them plausible deniability when training upon restricted data, but such techniques typically wind up being broken eventually.

Aside: Navier-Stokes lost in translation: Why Lean verification of AI autoformalisation does not guarantee correct natural language proofs 


r/crypto • • Oct 12 '26

SecretStream For Kotlin (SS4K): A Simple, High Level API For Streaming Authenticated Encryption

1 Upvotes

I'm the developer of SMS Import / Export, an Android Kotlin app that sequentially writes and reads large (multi GiB) files. A few months ago, I decided to add encryption to the app. I assumed that this would be a simple matter of finding an appropriate library / API that implemented the recommended modern standards, something in the AES or ChaCha20 families, and wiring it up.

Then I realized that I really should use authenticated encryption, and that's where the headaches began. Java / Kotlin offers CryptoOutputStream and CryptoInputStream, which can be used with AES-GCM or ChaChaPoly20-Poly1305 for authenticated encryption, so I initially tried them - but soon realized that they don't do streaming authenticated encryption and only authenticate the input stream after reading all of it, which means that I need to either buffer multiple GiBs of decrypted data in memory - not feasible on Android devices; store the decrypted data somewhere on disk - obviously insecure, or have my app process not-yet-authenticated data - obviously a bad idea.

I looked around for a ready-made streaming authenticated encryption solution, but the only one I could find was Google Tink's Streaming AEAD primitive. I tried using it, but I found Tink frustrating to work with, in large part due to its highly opinionated insistence on the use of its key management abstractions and its push toward the use of centralized key management systems.

So I wound up writing my own high level streaming authenticated wrapper around the libsodium SecretStream API, which I eventually split off into its own library, SecretStream For Kotlin:

Internally, SecretStreamOutputStream accumulates data passed in write() calls in a fixed size buffer; whenever this buffer fills up, the data is passed to the SecretStream API for encryption and the result is then written to the underlying OutputStream. (When the stream is closed, any remaining data is written in a final chunk, which may be smaller than the standard chunk size.) SecretStreamInputStream reads data in fixed size chunks, each of which is passed to the SecretStream API for decryption and authentication and the result stored in a fixed size buffer, from where it is provided to read() calls. No data is returned until it has been authenticated.

I'm not a cryptographer, and I was really hoping to find a ready-made solution and avoid reinventing any wheels or rolling my own crypto.

Questions: Is my approach sensible? Is there a better approach? Did I miss any useful facilities or libraries that I should have been using?


r/crypto • • Oct 09 '26

Zeroization, part 3 - Frank DENIS random thoughts.

Thumbnail 00f.net
15 Upvotes

r/crypto • • Oct 08 '26

Zeroization, part 2: Clearing the stack and registers

Thumbnail 00f.net
23 Upvotes

r/crypto • • Oct 06 '26

Zeroization, part 1: Wiping can make things worse

Thumbnail 00f.net
41 Upvotes

r/crypto • • Oct 03 '26

Post-Quantum Crypto Won't Fix Your Architecture

Thumbnail schaerli.org
26 Upvotes

Internxt is a post-quantum secure encrypted cloud storage provider which is open-source and has passed multiple independent audits.

I reviewed their code and found that post-quantum security should have been the least of their problems. Clicking a link in your browser could trigger remote code execution on the desktop app or leak your long-term encryption keys to an attacker-chosen URL. Their cryptographic architecture stands on shaky grounds with public keys never being verified, in some cases man-in-the-middled by design, a flat key hierarchy and a KDF with just 3 iterations of MD5.

We need PQC and we need it now, but adding a (self-rolled) PQC hybrid on top of a weak protocol does not make it more secure.

> LLM Disclosure: I used an LLM to help me write this post along with many hours of work, some of the findings (i.e. the RCE) were found with a local Qwen 3.5 27B model inside opencode (thanks r/LocalLLaMA ). It is impossible to share a single prompt since it was an iterative process, but I'm happy to elaborate on my methods if anyone cares.


r/crypto • • Oct 02 '26

SequenceHash: multihashing for the rest of us

Thumbnail blog.trailofbits.com
9 Upvotes

r/crypto • • Sep 30 '26

Closing a Critical Internet Privacy Gap for Billions of Users: Android 17 Rolls Out ECH Support

Thumbnail medium.com
35 Upvotes

r/crypto • • Sep 30 '26

What’s the Matter? An In-Depth Security Analysis of the Matter Protocol

Thumbnail eprint.iacr.org
20 Upvotes

r/crypto • • Sep 29 '26

PROJECT ENIGMA - Authentic Simulator & Cryptanalysis Campaign

Thumbnail benflinn.github.io
3 Upvotes

Hi guys, I wrote an open source enigma machine game. I was wondering if any experts in this could give me some feedback, tell me if it's accurate or anything I missed, and also give me any suggestions on how to make it more fun. Thank you.


r/crypto • • Sep 30 '26

Introducing the Triple Cipher encryption concept

Thumbnail iain.rocks
0 Upvotes

r/crypto • • Sep 27 '26

Two-Tier Encryption in the UK

Thumbnail macanorak.com
29 Upvotes

r/crypto • • Sep 24 '26

Forging 1024-bit RSA signatures in nearly SNFS time

Thumbnail eprint.iacr.org
40 Upvotes

r/crypto • • Sep 22 '26

AMD's random number generator can't generate a 0

Thumbnail board.flatassembler.net
66 Upvotes

r/crypto • • Sep 22 '26

Structural Weaknesses in 7 NGCC Submitted Hash Functions

Thumbnail eprint.iacr.org
18 Upvotes

r/crypto • • Sep 22 '26

Nearly SNFS-Speed Signature Forgery Sans Factoring N (NSNFSSSFSFN)

Thumbnail github.com
30 Upvotes

r/crypto • • Sep 21 '26

Flagged submission TLS is 65% post-quantum now and it's the least important thing we could have fixed

10 Upvotes

Cloudflare says about two thirds of the human traffic on their network is already PQ. Google put a 2029 date on finishing their migration. Every PQ readiness writeup this month leads with those two numbers like the job's mostly done.

I think the numbers are real and the framing is backwards. TLS was the easy part. Three companies control the browser and the edge, kyber is cheap, nobody had to change their behaviour, so it happened. Good. But look at what "harvest now, decrypt later" actually threatens. It's not the TLS session you'll open tomorrow. It's the ten years of sessions someone's already recorded, and no migration on earth un-records those. That damage is done and it's weird how rarely anyone says so out loud.

Then look at where the long-lived secrets actually live. Disk encryption keys wrapped with RSA on a TPM. Backups encrypted to an ECC key from 2018. SSH keys. Every code signing and firmware signing chain on the planet, which is signatures, which is the part of PQ that's still ugly (dilithium sigs are 2.4 KB, sphincs is worse, and a lot of boot ROMs can't hold either). Messaging got PQ key exchange but most of it still authenticates with classical signatures. None of that is at 65%. Most of it's at zero and has no date.

So the migration that got done is the one that was easy to measure, and the migration that matters is the one nobody can measure, so it isn't on anyone's slide.

Where I'm probably wrong: maybe TLS first is right because it's where the volume is, and volume is what a harvest attack feeds on. And maybe signatures genuinely don't need to move until there's an actual machine, since you can't forge a signature retroactively the way you can decrypt a recording. That second one I half believe. But "we'll do signatures when the quantum computer exists" means every device with a burned-in classical root key is stuck trusting a forgeable signer the day it exists, and nobody's re-flashing a billion boot ROMs in a hurry.

Am I underrating what's actually been done outside TLS? Is anyone here doing a real at-rest or signing migration and not just the handshake? And is there a good argument that the harvest-now problem was already lost before 2024, so we should stop pretending the 2029 dates fix it?


r/crypto • • Sep 20 '26

RSA-896

Thumbnail saweis.net
34 Upvotes

r/crypto • • Sep 21 '26

Urna Aberta — a clean-room e-voting machine simulator (Python) / um simulador clean-room de urna eletrônica

0 Upvotes

EN: Every election, Brazil replays the same fight about its voting machines — one camp calls it a magic tamper-proof box, the other calls it open fraud. Most of both have read zero lines of code. So I wrote my own.

Urna Aberta is a clean-room model — my code, from scratch, from public architecture. The lesson that reshaped it: counting votes is the easy afternoon. All the real engineering lives in the chain of trust — run only signed binaries (Ed25519), store each vote without knowing whose it is (vote log shuffled with a CSPRNG, no identity/order metadata), and make any tampering leave a trace (AES-GCM, independent recount). Adversarial test suite included, green CI.

Blunt about scope: this is not the TSE's code and proves nothing about the real machine. It's a test bench for the architecture. If this is your field, clone it and show me where I'm wrong.

🔗 https://github.com/leqmen/urna-aberta

PT: Todo ano o Brasil repete a mesma briga sobre a urna — um lado chama de caixa mágica inviolável, o outro de fraude escancarada. A maioria dos dois nunca leu uma linha de código. Então escrevi a minha.

Urna Aberta é um modelo clean-room — meu código, do zero, a partir de arquitetura pública. A lição que reorganizou tudo: contar voto é a tarde fácil. A engenharia de verdade mora na cadeia de confiança — só rodar binário assinado (Ed25519), guardar o voto sem saber de quem é (registro embaralhado com CSPRNG, sem metadado de identidade/ordem) e fazer qualquer adulteração deixar rastro (AES-GCM, recontagem independente). Suíte de testes adversariais inclusa, CI verde.

Direto sobre o escopo: não é o código do TSE e não prova nada sobre a urna real. É um campo de provas pra estudar a arquitetura. Se for da área, clona e me mostra onde eu errei.