C和C之间的加密# [英] Encryption between C and C#

查看:84
本文介绍了C和C之间的加密#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮我编写C和C#中的加密和解密程序。

我想要在C语言加密并在C#中解密后得到相同的结果。

Can anyone help me for writing the program of encryption and decryption in C and C#.
I want same result after encrypt in C and decrypt in C#.

推荐答案

如果您使用相同的算法,则应该没有任何问题。

您还可以在 C 并将其作为库(可通过 P / Invoke COM 访问)公开到 C#申请。
Provided you use the same algorithm there should be no problems at all.
You could also write the encryption/decryption code in C and expose it as a library (accessible via P/Invoke or COM) to the C# application.


这篇关于C和C之间的加密#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆