I tried to use php mcrypt TripleDES for encryption for docx format files.
When i tried to decrypt the file, i am getting the error as follows.
I have been waiting for the solution more than 4 months. Finally i found some valuable answer in google. Now i have fixed it by using below link.
http://www.howwhywhat.in/how-to-implement-common-file-encryption-and-decryption-between-c-and-php/
Best part is ,it has live examples too:)