We present our work on a new cryptographic primitive:
"Two-limb CRT Ring-LWE encryption with exact decryption and public re-randomization" - Journal of Cryptographic Engineering (2026)
It enables:
- post-quantum encryption
- public rerandomisation with constant size ciphertext
Encrypt data.
Anyone (without the key) can turn the ciphertext into a fresh-looking one, billions of times. Still decrypts perfectly.
Our new mobile-friendly post-quantum primitive is the first step toward making border crossings safer for journalists.
https://t.co/USjGQy44me
@Aron_Adler I think rust separates different phantom types because I rely on it to have 2*len(fields) states with different methods exposes. So, at some point, rust must know how many states you need before it generates the code, hence, at compile time
TIL you could have thst in the type!
But yea looks close to my Phantom<(Yes/No, ...)>
Thats basically what they represent, 1 per fixed field, 1 per state.
Sorted such that it forms a lattice (not exactly a sort, but it does what I wanted), then generate the transitions (methods with transmute of another type of identical memory layout)
@Aron_Adler I think the monomophization assumes you know ahead of time what all instances of types used are, so it can generate their code. After generation it may unify identical implementations, but first it needs to expand them.
At least, thats my assumption.
It takes a lot of ram tho, I couldnt run rust-analyzer on it on my old laptop
And the builder pattern I implemented is very specific to our compiler.
But you could point your lalamo to it and ask for a macro for your usecase.
Maybe use explicit tags instead of implicit behaviour based on matching type identifiers (Link, BackLink, Vec, Option) and leading underscore lol.
@Aron_Adler Yea, Id use a phatom data with some type level numbers (church nats probably because you need all version from 0 to N anyway, more reuse when compiling).
The main issue is that you need to know ahead of time your maximum version AFAIK? I could be wrong on that.
@Aron_Adler Yep, I did something with a type builder macro for a compiler.
It enforces via type transitions when building that only unspecified fields (or ones you can append to) had their builder method exposed
It was about type transtions, which I encoded as an array of type lvl booleans
VCs keep investing billions in quantum computers, I've been predicting since 2011 that the fall of crypto will be an analytic solution to DLP. A friendly reminder that we can have both P!=NP yet DLP in P, ending Bitcoin and Ethereum. If factoring falls, DLP is next...
WHAT IS HAPPENING?! Google just silently dropped six new math papers, all produced by its AI agent Cogentic running on Gemini 4. Google says no human was involved after the first prompt.
- Factoring: Splitting huge numbers into primes is the backbone of RSA encryption. The fastest method has been around since the 1990s, and for 30 years nobody could prove how fast it really is. An AI just did.
- And it keeps going: the log-rank conjecture (open since 1988), Harary's edge reconstruction conjecture (open since 1964), and the first factoring method without randomness that beats exponential time. Any one of these would make a mathematician's career.
Anthropic, OpenAI, now Google, all within days! This is the new normal!