hi..

I have encrypted a file in C# using this code .. i will upload the encrypted file to my server..
Now i want to write an Equivalent PHP encrip/decript to use the file..
Can i use mcrypt_cbc() to do the job or is there anything special i need to be aware of..

Well I suppose you could try the different php encryption functions to see what works but if it is binary then there are no garrantees that it can be converted with php. Where-as if it is just jumbled up text then you can use the powerful php regex library to do the conversion.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.