The counter (ctr) is incremented for each block of the message ($m_1, m_2, m_3$). Each incremented counter value is passed through the encryption function $F_k$ (AES with key $k$), resulting in a key stream ($c_1, c_2, c_3$). The key stream is then XORed with the
Show more…