- Advanced Blockchain Development
- Imran Bashir Narayan Prusty
- 94字
- 2021-06-24 14:04:53
Electronic Code Book
Electronic Code Book (ECB) is a basic mode of operation in which the encrypted data is produced as a result of applying the encryption algorithm one-by-one to each block of plaintext. This is the most straightforward mode, but it should not be used in practice as it is insecure and can reveal information:
Electronic Code Book mode for block ciphers
The preceding diagram shows that we have plaintext P provided as an input to the block cipher encryption function, along with a key KEY and ciphertext C is produced as output.