The given examples below are dummy and in English. They are mainly for place holding as this is a concept question rather specific example based
Given AES has a block size of 128 bit (16 letters of English) and assume I am using the 128 bit key version without an IV.
Assume I have the plaintext hellohowareyoutodayihopeyouareok
and the key 1234567890123456
If i take the first section of the plaintext hellohowareyouto
and run the encryption on it with the above key and get the ciphertext 111erqsdgdisa222
and later we run the plaintext dayihopeyouareok
with the same key we get the ciphertext 333isdisiodfi444
.
My question is, given the cipher works on blocks of size 128 bit, if we take the entire plaintext hellohowareyoutodayihopeyouareok
and encrypt it with the same key, would we get 111erqsdgdisa222333isdisiodfi444
?
If no, why not? (Given the IV is constant, or no IV exists, given not all encryption algorithms require and IV. The story of having a fixed IV for all encryption being a bad idea is a different topic and not the aim of this question)