Can any one suggest any encryption algorithm which interop between c and c# means encrypt in c language and decrypt in c# & vice versa
Can any one suggest any encryption algorithm which interop between c and c# means
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Use something like AES available under System.Security.Cryptography.
You can find an example of using it under C# here – Using AES encryption in C#
When deriving IV and SALT you might find this utility class useful: http://msdn.microsoft.com/en-us/library/system.security.cryptography.rfc2898derivebytes.aspx
I cannot directly answer the C/C++ side, however trawling SO posts there’s plenty of answers such as: encrypt- decrypt with AES using C/C++