Revamped for just AES CBC cipher