implement generateIV function in a proper way and introduce the ofb
encryption in the Aes_encrypt and Aes_decrypt functions.