471,599 Members | 1,582 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,599 software developers and data experts.

Encryting and Decrypting between .Net and c++ 6.0

Hi,

I'm trying to find a way to encrypt data (strings) from my client
application (c++ 6.0) and transfer it to my server's .Net web services
application. The web services must be able to decrypt the data, make some
manipulations on the decrypted data, encrypt the result, send it back to the
client who would decrypt it again.

Thanks,
YN
Nov 17 '05 #1
1 1232
Yair,
I'm trying to find a way to encrypt data (strings) from my client
application (c++ 6.0) and transfer it to my server's .Net web services
application.


Sounds like you could use Microsoft CryptoAPI (CAPI) for this purpose. It is
available through both native Win32 code and .NET. Depending on your setup
and situation, you also need to figure out which encryption key(s) you are
going to use between the client and the server.

But remember that as it is a web service you a writing, using HTTPS (SSL)
might already be enough as then nothing is transferred in clear text on the
wire. In .NET, I also suggest that you take a look at the
System.Security.Cryptography namespace.

Here are some links that may prove to be helpful should you find CryptoAPI a
solution for you.

Platform SDK: Cryptography
http://msdn.microsoft.com/library/de...asp?frame=true

"Encrypting and decrypting data" form .NET This!
http://www.dotnetthis.com/Articles/Crypto.htm

Hope this helps.

--
Regards,

Mr. Jani Järvinen
C# MVP
Helsinki, Finland
ja***@removethis.dystopia.fi
http://www.saunalahti.fi/janij/
Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Alessandro Bottoni | last post: by
3 posts views Thread by JW | last post: by
reply views Thread by cmrchs | last post: by
2 posts views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.