Skip to main content
6 events
when toggle format what by license comment
Oct 2, 2019 at 8:01 history edited kelalaka CC BY-SA 4.0
polish; Post Made Community Wiki
Oct 2, 2019 at 7:56 comment added kelalaka I've given a simple answer here. We need probabilistic encryption. You should use IV and in the CBC mode the IV must be unpredictable.
Oct 2, 2019 at 7:54 comment added user73367 Can I still do CBC with an IV on just a single 128-bit message? (if so how), or do I need to pad it to 2 128-bit blocks like you said and then do the CBC calculations with an IV.
Oct 2, 2019 at 7:53 comment added kelalaka Well, padding helps you to have always multiple of 128-bit and later, removing them. If you always 128-bit messages, you may have two options. pad or no pad. If you pad it will be 2 128-bit blocks. If you don't pad, it is just one block.
Oct 2, 2019 at 7:50 comment added user73367 So if I have a message (128 bits) I need to apply padding to the message to obtain another plaintext-block? Which then allows me to perform CBC with those two blocks?
Oct 2, 2019 at 7:42 history answered kelalaka CC BY-SA 4.0