Best cipher for c# and PHP? [closed]
I have made a C# application that talks to my website via PHP(mcrypt) and visa versa.
I was wo开发者_如何学Gondering which is the best cipher to use and if there are any ciphers that are tempermental when encrypt/decrypting over different lanuages.
I also wondered if I need to convert the data to a different format before encrypting.
E.g. Say I am encrypting with PHP do I need to convert the data to ASCII before I encrypt it. Just to make sure I dont get stuck for ages over format ;)
Thanks
There is no "best" cipher but I would recommend using an encryption algorithm that has been used a lot like Tripple Des or AES.
The content of the target string shouldnt be effected by the type of encryption since they operate at the byte level not the encoding level.
精彩评论