3 ms·
The key issue here is that it really has to be much bigger, merely a hundred times or million times bigger is definitely not going to be sufficient. There inde
by PeterisP 5y ago
The key issue here is that it really has to be much bigger, merely a hundred times or million times bigger is definitely not going to be sufficient.
There indeed is a limitation of key-based algorithms that encrypting too many blocks with a certain structure may make them vulnerable; however, that limitation is quite large unless you're using older/smaller algorithms like DES. I couldn't remember or quickly find what the circumstances are for e.g. AES-128 but IIRC it might be something like 2^48 blocks so for your approach to work, you'd have to stretch each block of content (e.g. 16 bytes) into petabytes of encoded data before you start having a theoretical chance to decode it; and for AES-256 it would probably be that amount squared, and you simply can't encode or store 2^96 blocks of anything.