3 ms·
I don't understand "lightweight" encryption. Either it's secure, and then it would make sense to use it for everything due to the lower resource consumption, or
by jonathanstrange 4y ago
I don't understand "lightweight" encryption. Either it's secure, and then it would make sense to use it for everything due to the lower resource consumption, or it can be broken. What am I missing here?
- arlcode 4y agoSome constraints could be small ram, small messages, very little storage.
- myrion 4y agoIt might make tradeoffs that make it unacceptable in other situations, particularly ones that are focused on being resource constrained in some way. For example it could have low RAM usage, but become exponentially slower with message size, so it's fine for encrypting short messages only. Or it could have a constant overhead somewhere that's fine for an IoT device that sends a report once a day, but not if you wanted to make thousands of connections per second. Stuff like that, is my naive understanding.
- angry_octet 4y ago- Time/space tradeoffs, to enable use on limited memory devices. Large block and keys sizes and Lists are undesirable, even if more cycles are required. - Time/margin tradeoffs: if the attacker can only meaningfully attack in the next 24 hours, do you need margin to protect against all of AWS crunching for a million years? Or would you like the computation done in a tenth the time? - Architectural properties, such as the susceptibility to differential power analysis: maybe you will risk that more via a LUT in exchange for lower power. - As you increase the number of rounds, algorithms tend to get stronger. But some algorithms have E.g. good avalanche properties for many fewer rounds. The tiniest devices are things like RFID chips.
- tptacek 4y agoIn fact, in this particular case, the winner is also a general-purpose cipher contender.