Encrypt each block of data independently might sound like a good idea for performance perspective as it could be done in a #multithreading or #parallelism manner. However, it is not safe per se as repetition pattern can be observed from the ciphertext if all the blocks are encrypted using the same key.
Problem of Independent Encryption
- TAC3121 Chapter 5: Symmetric Cryptography
-
Electronic Codebook (ECB)
ECB is a block mode of operation# from #Data Encryption Standard (DES) and #Advanced Encryption Standard (AES) where each block of plaintext bits is encoded using Substitution# independently# with the same key. The formal equation for the encryption is as follow: