C和C之间的加密# [英] Encryption between C and C#
本文介绍了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 $中编写加密/解密代码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 inC
and expose it as a library (accessible viaP/Invoke
orCOM
) to theC#
application.
这篇关于C和C之间的加密#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文