Steps followed are: 1.padding entered message 2.generating a new random initialization_vector with the size of an AES block 3.creating AES cipher with our hash-key,in mode CBC and initialized vector 4.envoking encrypt function from generated cipher 5.placing encrypted_
(message)