加密和解密都适用于c#和php [英] encryption and decryption that work for both c# and php
问题描述
我想你正在寻找的是DES3编码,它可以很容易地在C#和PHP之间工作。查看这两个链接的代码示例。
C#示例:
a href =http://www.csharper.net/blog/library_encrypt_and_decrypt_methods_using_tripledes_and_md5.aspx =nofollow noreferrer> http://www.csharper.net/blog/library_encrypt_and_decrypt_methods_using_tripledes_and_md5.aspx
PHP示例
http://us3.php.net/manual/en/mcrypt.examples.php
Is there any encryption and decryption Algorithms that work for both php and c#? Please I need a sample codes
I think what you are looking for is DES3 encoding which can work fairly easily between C# and PHP. Check out these two links for code examples.
C# Example:
http://www.csharper.net/blog/library_encrypt_and_decrypt_methods_using_tripledes_and_md5.aspx
PHP Example
http://us3.php.net/manual/en/mcrypt.examples.php
这篇关于加密和解密都适用于c#和php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!