r/crypto • • 5h ago

Chat Control 2.0 is up for voting AGAIN

Thumbnail fightchatcontrol.eu
19 Upvotes

r/crypto • • 1d ago

Anthropic's quasipolynomial quantum attacks on lattice problems

Thumbnail github.com
43 Upvotes

Anthropic has released four papers: One contains quasipolynomial quantum attacks on certain structured lattice problems, including the MLWE problem underlying ML-KEM and ML-DSA. Three containing reduction results for unstructured lattices.

It is worth noting that the attacks are insanely impractical even ignoring the quantum computing aspects. But of course, it remains to be seen if they can be improved.


r/crypto • • 1d ago

NTRU Prime validated?

Thumbnail x.com
22 Upvotes

If true, looks like djb was right all along?


r/crypto • • 1d ago

[Google Research AI generated] Unconditional Integer Factorization in Time L_N[1/3, O(1)]

Thumbnail alphaxiv.org
0 Upvotes

r/crypto • • 2d ago

What are my options for "javascript-level" formal-verification?

0 Upvotes

I want e2e formal verification to factor in app-logic like user-input and payload-santization.

Im currently investigating an approach in JS for application-level formal-verification. There are clear drawbacks to using JS for that, but i am investigating if i can make it a part of the framework to handle params from inside a Rust-runtime. The Rust-runtime is especially unstable and far-from-finishied as i investigate what is possible.

IMPORTANT DISCLAIMER: This is my own project. I am using AI. Its important to get that out of the way… because its the key reason for why YOU SHOULD NOT USE IT. I am not trying to promote “yet another secure notes app”, this is an example to see what is possible with a related UI framework im working on. Its unreviewed, unaudited and far from finished. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes only. There will be breaking changes.


r/crypto • • 4d ago

Cryptography Incident Review Group

Thumbnail cirg.org
28 Upvotes

r/crypto • • 4d ago

HCENC: How to Design an Efficient Committing Beyond-Birthday-Bound Accordion from a Block Cipher with n-Bit Blocks and Keys

Thumbnail eprint.iacr.org
9 Upvotes

r/crypto • • 4d ago

Sub-exponential ECDLP?

6 Upvotes

This paper is citing a previous result on sub-exponential elliptic curve discrete log and now is claiming a deterministic algorithm: https://eprint.iacr.org/2026/3020 . Anyone had a chance to dig into it? Are these results practical?


r/crypto • • 5d ago

Working on a hash that outputs words, i used a dump of wiktionary, and it's a good way to discover new words when you want to name things

0 Upvotes

Today I was having fun working on some crypto and I discovered there is a dump of entire english Wiktionary, I decided to make WordHashX, basically you can turn any input into word pieces. You can test it on this site: https://wordhashx.pages.dev/ and repo is here


r/crypto • • 6d ago

Post-quantum deniable encryption?

10 Upvotes

I have a rather nasty set of design constraints and I'm wondering if it's even possible to meet them:

  • Public-key
  • Deniable authentication
  • Recipient anonymity
  • Quantum-safe
  • Non-interactive
  • Ideally: Pretty fast computationally, and public keys aren't massive.

Alice and Bob have exchanged public keys and Alice would like to send an encrypted message to Bob. The message needs to authenticated as coming from Alice, but not in a way that can be proven to others. (So, deniable encryption, no conventional signatures.) It also shouldn't be clear to anyone looking at the message that Bob is the intended recipient (recipient anonymity). And finally, a really nasty constraint: Alice and Bob shouldn't be required to have a back-and-forth. This is a largely non-interactive protocol, and Alice should be able to send a message to Bob in one shot.

If I allow classical algorithms, Alice and Bob can use X25519 key exchange to derive a shared secret, then use symmetric crypto from there. But I'm trying to make this secure against quantum computers (as HNDL is relevant to my protocol). I haven't found anything currently usable in production software, just an academic proof of concept of a PQ NIKE.

What's currently possible? Which elements do I likely need to compromise on?


r/crypto • • 6d ago

Tamarin vs (Lean vs Rocq vs Adga) vs EasyCrypt vs ??

14 Upvotes

Are there nice technical overviews of how all the proover software really differs?

There are differences in their libraries of course, but how do their kernel's and language usability really differ?

According to this, Lean offered more user friendly "tactics" than Rocq and Adga. Is some major difference in the kernel behind this? Or more a language level difference?

If I understand, Tamarin has the reduction proof strategies for cryptographic proofs backed in, but again how deeply? It's largely language differences? Or the kernels themselves work differently? Is this subsumed by the "tactics" in Lean? Aka is someone going to drop Tamarin-in-Lean next year?

Appears EasyCrypt focuses much more upon primitives, so it's kernel is radically different, but I've not understood that either.

Apologies if I've asked silly questions here, formal verification was never my field, but it appears impossible to ignore these days.


r/crypto • • 10d ago

Experiment: Turning Speck128/256 into a secure hash function using Hirose's construction

7 Upvotes

If we were to use Davies–Meyer to turn Speck, a tiny cipher that still hasn't been broken to this day, into a hash function, at most we would get 16 bytes of output and that's not usable (a collision takes only about 2⁶⁴ tries). But running a variant of Hirose's double-block-length construction, we are able to get 32 bytes and aim for security comparable to SHA-256.

Speck's initial design was never in-mind for hashing, which is what makes this experimental. So this comes unreviewed, but I am putting this hash into the public to see if it holds up. So here is SpeckHashX: https://github.com/multipleof4/SpeckHashX

Also: it is capable of variable output below or above 32 bytes, but keep in mind longer output does not add strength, and shorter outputs are weaker.

There are npm and Rust packages available for anyone interested in trying it.


r/crypto • • 11d ago

Video The Riemann Hypothesis Falls - Numberphile

Thumbnail youtube.com
3 Upvotes

r/crypto • • 12d ago

UK Government Forced to Admit It Issued Apple a Secret Encryption Order

Thumbnail macanorak.com
54 Upvotes

r/crypto • • 12d ago

Lustro, a new experimental contruction

0 Upvotes

Hi everyone. I would like to share Lustro, a 256-bit state diffusion engine I wrote. It’s used as hash, PRNG and XOF. Streams are derived from a seed and a path of 128-bit IDs, with fork leaving the parent unchanged. I am a chemist by education and the design may be somewhat unconventional.

To be clear: the core mechanism and the whole API are currently considered non-cryptographic.

I’d be interested in feedback on the design. The mechanism and the test results are provided in the main repo:

https://github.com/Ligatum/Lustro

Thanks.


r/crypto • • 16d ago

Security Analysis of Anonymous Authentication in Apple's Private Cloud Compute

Thumbnail eprint.iacr.org
21 Upvotes

r/crypto • • 21d ago

Formal Verification of Signal’s Protocol with Gemini

Thumbnail deepmind.google
35 Upvotes

r/crypto • • 22d ago

Electron, we have a problem

Thumbnail schaerli.org
10 Upvotes

r/crypto • • 25d ago

Advancing the frontier of cryptanalysis

Thumbnail xxcancel.com
18 Upvotes

r/crypto • • 27d ago

Design review: E2EE expense-sharing app where the link is the key and accounts are optional. How do I get per-member authorship?

1 Upvotes

Hi all,

I've seen the recent surge of AI slop all over internet so I think it's one of the worst moment to ask for a design review.
However, as I truly need some advices, I'll take my chance and try to be as honest as possible so you can stop reading early if you disagree:

First, for years I didn't use AI in this app, but this has changed over the past six months and now it has become a solid help even for the crypto part.

Then, the frontend is open source (mirrored from gitlab to github), but not the backend (yet) because I don't want my work plundered before I even get the chance to launch the app.

Finally, I'm only a fullstack developer, not a cryptographer. I've read a lot and done my own reviews, but no one independent has looked at it.
The app already tells people "we can't read your data", and I want it to be true. I'd rather hear it's broken here than keep making a promise I can't keep.

The app is for sharing group expenses (trips, flatmates), sign in is optional. It started as a way to learn Rust (I'm coming from JS / C# world).
Along the way, with all the data breaches and the mass surveillance happening here and there, I decided the server should never be able to read anyone's data (Zero Access) and added the E2EE layer.

Roughly, here's the architecture:

  • One random 256-bit key per group. All content is encrypted client-side with XChaCha20-Poly1305 (RustCrypto, WASM on web, native on mobile), random 24-byte nonce, payloads padded to powers of two.
  • The key lives in the URL fragment (/projects/<id>#<key>): the share link is the key, never sent to the server. As i said, no account is needed.
  • Optional accounts: account key uses Argon2id (password, salt), never leaves the device. Login uses a separate Argon2id proof, and the server stores only its hash. Group keys are wrapped under the account key server-side for multi-device.
  • Sharing with a friend's account: X25519 + crypto_box, with a fingerprint to compare out of band.

Where I already know it's weak:

  • Code delivery.

    • The server could serve a different WASM. Reproducible builds, Sigstore-signed releases and a public monitor catch a global swap but not a targeted one
    • Store builds (App Store, Play) can't be checked against the source
    • Only F-Droid builds can
  • Members aren't authenticated. Anyone with the link can edit any row under anyone's name. The author is just a field inside the payload.
  • No associated data. A malicious server can replay old row versions or drop rows.
  • Escrow.  A DB leak allows offline guessing at one Argon2id per guess, and a hit exposes every group that account holds. The proof is a bearer token, and the server serves the salts, so a hostile one can reuse a salt across accounts to guess against all of them at once.
  • Leaked link. Exposes the whole group. Rotation will be available in the next version but I think it's not enough.

    • However I'm planning "closed groups" where only authenticated users can join (so the key is not shared by message anymore)
  • Metadata. The server sees group membership, sizes and timing. (I have no analytics)
  • Not fully Post Quantum. Invitations use X25519 only, rotation boxes are hybrid X25519 + ML-KEM-768.

As you can see one of my pain point is the authorship.
Every member of a group shares one symmetric key, and nothing is signed, so any member can write as any other. Some members have no account, only the link. Is per-member authorship achievable here, e.g. a per-device signing key generated on join and pinned by the others on first use, or is a shared-key group with link-only members inherently unable to offer more than "someone in the group wrote this"?
If it's doable, is there a standard construction I should look at rather than inventing one?

Full spec: https://github.com/counted-labs/counted/blob/main/SPEC.md
The open source client code (AGPL): https://github.com/counted-labs/counted (packages/ui/src/crypto.rs).

Thanks for your help.


r/crypto • • 29d ago

Filen's password onion made me cry

Thumbnail schaerli.org
51 Upvotes

I recently reviewed Filen’s cryptography and their password hash has known attacks from the last millennium

Filen knows it’s a bad hash, and it was only used in their first protocol version. But because they still support it for backward compatibility, a downgrade attack can trick a client into hashing your password with MD5(MD4(MD2(pwd))). For weak passwords, this can ultimately leak all your "zero-knowledge encrypted" files to the provider.

My post also asks a more existential question about "cypher-SaaS" products, which market cypherpunk-style privacy as a cloud service: does it make sense to assume an untrusted backend when the client is delivered as a website? The marketing suggests so, but the backend can simply serve you a backdoored JavaScript on any page load. Desktop apps are often no better, since many ship updates without signature checks. I think such a service can still make sense in some cases, but the guarantees are much weaker than vendors promise.

I responsibly disclosed all findings and gave Filen a draft before publishing. They responded quickly and are working on addressing my points, most of which will land in their upcoming fourth protocol version.


r/crypto • • 28d ago

SPN-ARX Hybrids

5 Upvotes

Whats your views on SPN ARX hybrids? Anyone had any experaince with them? Im building a toy cipher currrently for fun but finding it hard to prove that the ARX rounds contribute to the differential/linear trail bound. Seems that its mostly reliant on the SPN part. Experimenting with a few ways to add the ARX layers, such as alternating them (SPN, ARX, SPN, ARX) instead of grouping them (SPN, SPN, SPN, ARX, ARX, ARX).

Edit :

I implemented the exact differential (Lipmaa–Moriai) and linear (Wallén) weight functions for modular addition, exhaustively checked them against brute force, and wired the differential one into a SAT model with DRAT proofs — calibrated so it reproduces SPECK32's published optimal trail weights (0, 1, 3, 5, 9, 13, 18, 24) and Alzette's 6, so the tool is validated in the open before I trust any new number.

The finding: a single ARX round, in isolation, contributes exactly zero provable trail weight in the worst case. The all-MSB input difference passes a modular addition at probability 1, and dually the LSB mask passes at correlation ±1. That's the classic "MSB transparency" of addition — but pinned down exactly rather than waved at. So if you try to lower-bound an ARX construction by crediting each round independently, the bound is 0 per round, and it's tight.

A real, positive bound only exists jointly — across the additions plus the rotations/linear layer between them. Which is exactly what the long-trail / ARX-box strategy (SPARX, SPARKLE/Alzette) is doing: it forces the trail off the free MSB/LSB bits using the surrounding structure, not the adds themselves. And the tempting shortcut — treating an addition as its linear approximation to get a floor — is unsound: I measured real-minus-linear = −1 on a small instance, so linearization over-credits and can't be used as a lower bound.


r/crypto • • 29d ago

I built a crypto-based CPU frequency tester and leaderboard (please roast / break it)

Thumbnail github.com
3 Upvotes

r/crypto • • Nov 02 '26

Stop Calling Them Provers: The Case for Calling ProVerif and Tamarin Symbolic Protocol Analyzers

Thumbnail eprint.iacr.org
27 Upvotes

r/crypto • • Oct 31 '26

The Duty of a Scholar

Thumbnail daemonology.net
22 Upvotes