RSA-256, Post-Quantum Encryption, and Why Your Data Still Needs a Second Layer
Search "RSA 256" and you come away more confused, because the phrase bundles three different jobs into one number. Untangling them is the difference between fixing the right problem and migrating the wrong component. This post separates the jobs, states what post-quantum cryptography actually changes for each, and is blunt about where cryptography stops and data governance has to begin.
First, the naming problem
"256" almost never means what people assume it means.
- RS256 is RSASSA-PKCS1-v1_5 signing paired with SHA-256. The 256 is the hash output size, not the key size. The RSA key underneath must be 2048 bits minimum (RFC 7518). A literal 256-bit RSA key is broken classically, today, with no quantum computer involved.
- RSA-OAEP-256 is a different job: RSA key encryption using OAEP padding with SHA-256. Different padding, different purpose, still RSA.
- AES-256 is symmetric encryption of the actual payload. This is the only one of the three where 256 refers to the real key strength.
Three "256"s, three jobs. Conflating them is how teams "upgrade" a signing algorithm when their real exposure was confidentiality, or the reverse.
The three jobs, and what quantum actually threatens
| Job | Classical approach | Post-quantum direction | What PQ does not fix |
|---|---|---|---|
| Prove who sent it (authenticity) | RS256, ECDSA, Ed25519 | ML-DSA (FIPS 204), SLH-DSA (FIPS 205) | Does not protect confidentiality or govern data use |
| Establish key material (key exchange) | RSA-OAEP, ECDH | ML-KEM (FIPS 203) | Does not sign tokens; not a JWT replacement |
| Encrypt the payload (confidentiality) | AES-256 | AES-256 (strong margin under Grover) | Does not control who may use decrypted data |
| Control how data is used (governance) | Access policy, tokenization | Same, independent layer | Not a cryptographic problem at all |
Two load-bearing facts:
- Symmetric encryption is largely fine. Grover's algorithm only square-roots the brute-force cost, so AES-256 keeps a strong effective margin, and NIST continues to permit AES-256. Shor's algorithm is the real threat, and it targets the asymmetric pieces: RSA and elliptic-curve key exchange and signatures.
- Moving RS256 to ECDSA or Ed25519 is not a post-quantum migration. It is a reasonable modernization, but Shor breaks elliptic curves too. A genuine PQ path means ML-DSA/SLH-DSA for signatures and ML-KEM for key establishment.
The careful claim for the new schemes: no efficient quantum attack is known for the relevant parameter sets. That is a bounded statement, not a promise. Implementation quality, side channels, and future cryptanalysis all still matter.
Harvest now, decrypt later: why this is urgent today
This is the reason the transition is urgent even though large quantum computers do not exist yet: an adversary can capture encrypted traffic today and decrypt it later once the hardware arrives. Anything with a long confidentiality lifetime (health records, identity data, state secrets, source code, signing keys) is already exposed to that bet.
Now the operational trap most migration plans miss: rewrapping a key does not undo a past capture. If an attacker already holds a copy of your data key wrapped under RSA-OAEP, swapping the wrapper to ML-KEM protects future wraps only. The old ciphertext is still sitting in their archive, and the data key that unlocks it has not changed. Real remediation is usually new data keys and re-encryption of the data itself, not a new wrapper around the same key. If you take one action from this post, make it this: decide which captured-ciphertext risks demand fresh keys and a full re-encryption, not just a rewrap.
A migration checklist that separates the jobs
- Inventory by job, not by algorithm. Where do you sign, where do you exchange keys, where do you encrypt at rest, where do you govern use?
- Migrate signing and confidentiality on separate tracks. They have different threat models and different deadlines; do not let one schedule hide the other.
- Prioritize by data lifetime. Long-lived secrets go first; they are the harvest-now targets.
- Test downgrade and fallback paths. A PQ-capable system that silently negotiates down to RSA under load has not migrated.
- Treat "hybrid" with precision. A real hybrid combines classical and PQ key material so the result is secure if either holds. Two algorithms sitting next to each other in a config file is not a hybrid.
- Plan the re-encryption, not just the rewrap. For each captured-ciphertext risk, decide explicitly whether it needs fresh data keys and re-encryption, because a new wrapper will not retire the old exposure.
Where cryptography stops
Here is the part most PQ content skips. Suppose every signature is ML-DSA and every key exchange is ML-KEM. You have protected keys and trust relationships. You have done nothing about what happens to data once it is legitimately decrypted: who queries it, how often, which fields, for what purpose. That is a governance problem, and no signature scheme solves it.
This is the honest case for a second layer. Post-quantum crypto hardens the transport and the trust fabric. Data-use governance (access scoping, tokenization, searchable-but-protected fields, audit over query patterns) hardens the thing the crypto was protecting in the first place. This is the role of Data Foundations.
What "PQ-compatible" should, and should not, mean
Plain statements, because this is where vendor writing usually gets slippery. "PQ-compatible":
- does not mean every deployment negotiates ML-KEM today;
- does not mean every token already uses a PQ signature;
- does not mean any proprietary construction is automatically secure.
Those are specific claims, and specific claims require specific evidence.
Here is our evidence
Our searchable-encrypted-index design (SEID) lets you query protected fields without decrypting the whole dataset. Any searchable-encryption scheme leaks something: typically equality between matching queries and access-frequency patterns over time. We do not hand-wave that. SEID has a named, independent cryptographic assessment that documents its exact leakage profile (equality between matching queries, access-frequency patterns over time), the attack models it was evaluated against, and the deployment constraints (query-rate limits, access-pattern auditing) that bound that leakage. Read it in full: the SEID independent cryptographic assessment. If you are evaluating SEID, that document is the source of truth, not this blog. If a vendor cannot show you the equivalent, treat the "searchable and secure" claim as unproven.
Bottom line
Post-quantum migration is real and worth starting now, but it is three migrations wearing one name. Separate the jobs, prioritize by how long your data must stay secret, re-encrypt what harvest-now has already put at risk, and remember that protecting the key is not the same as governing the data. The crypto and the governance are two layers. You need both.
References
- JSON Web Algorithms, RFC 7518 (IETF, 2015).
- NIST: FIPS 203: ML-KEM, FIPS 204: ML-DSA, and FIPS 205: SLH-DSA (2024).
- Post-Quantum Cryptography FAQs (NIST).