4 ms·
As far as I know elliptic curves at the same size as RSA are stronger both in a quantum and post-quantum setting.
by dependenttypes 6y ago
As far as I know elliptic curves at the same size as RSA are stronger both in a quantum and post-quantum setting.
- aborsy 6y agoTrue, in fact an elliptic key with 4096 bits would be way overkill. But there is also the issue of support. Ed25519 and RSA3072 offer around 128 bits of entropy, which is kind of on margin even classically. RSA 4096 offers more protection against brute force, around 144 bits if I recall correctly. Of course, RSA is vulnerable to side channel attacks (though these nay not be in the threat model of many people). You could use ed448 with 224 bits of security with still shorter keys than common RSA variants. But then it’s not supported in most places.
- dependenttypes 6y ago> which is kind of on margin even classically Is it though? It requires around 2^128 operations to be broken. It does not seem very marginal to me. It is not like AES where you have to deal with batch-attacks or cryptographic hash functions where collisions for a n-length output require only sqrt(2^n) attempts.
- aborsy 6y agoThat’s not how it works! That 128 bits is theoretical upper bound, not necessarily an achievable security rate. That’s the point of margin.
- dependenttypes 6y agoVery well, in that case, which symmetric encryption algorithm would you say has an acceptable security margin?