Re: C# server side (encode) -> C++ client side (decode) ?



J,

Sure you can. The classes in the System.Security.Cryptography namespace
use well established algorithms to encrypt/decrypt information. You just
have to use the same algorithms in your C++ code (which are supported, by
the way), along with the same key and iv values for encryption/decryption.

Hope this helps.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@xxxxxxxxxxxxxxxxxxxxxxxxxxx

<jtfaulk@xxxxxxxxxxxxxx> wrote in message
news:1135116520.216826.228810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>I need to encode some information on the server side using ASP.NET with
> C#; sending via HTTP to a client side application, that needs to be
> decoded in an MFC C++ application.
>
> I'm not sure if I can encode something using:
>
> C#: System.Security.Cryptography (to encode)
>
> and
>
> C++: wincrypt.h (to decode)
>
> Does anybody have any idea about this? Thank you in advance; it is
> greatly appreciated.
>
> J
>


.