5 ms·
No. AES encrypts blocks (I think 256kb?). So that's the only thing you have to sync.
by RasputinsBro 9y ago
No. AES encrypts blocks (I think 256kb?). So that's the only thing you have to sync.
- syrrim 9y agoIf you use plain AES ECB, then little penguins will show up in your encrypted data. You would want to use a disk encryption scheme, like XTS, where the encryption is not just based on the data of the block, but also on the index of the block, to prevent identical blocks at different locations from looking identical. You also want it to be based on a nonce of some sort, to prevent attackers from reverting a block to an older copy.
- RasputinsBro 9y agoPenguins? What are you talking about? I don't care about low-level encryption details. That's why I use encryption software instead of coding my own.
- kevin_thibedeau 9y agoECB has issues: https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation#Electronic_Codebook_%28ECB%29 https://en.wikipedia.org/wiki/Block_cipher_mode_of_operation...
- UncleMeat 9y agoYou should absolutely care about the difference between ECB and a stream cipher mode like CBC. ECB is way less safe.