Written the code for encrypting files including the padding but is not tested. Code for decryption to be followed.
Added the decrypting logics with test program.