.net equivalent of winscrypt

C

ceh

Hi, I have to encrypt something on windows.
The encrypter will be a web page, likely aspx
The decrypter will likely be a c++ win32 app
Is there a direct mapping between the .net encryption stuff and
windows api?

Eg
System.Security.Cryptography.*Decrypt* == CryptDecryptMessage() ?

I'd imagine I'd have to do this as follows
Create an encryption lib in win32
Wrap it with COM
Use it on the web page to encrypt data
Use the same lib from the native side to decrypt it.

But I'm hoping I can just find the right .net class to do this and
avoid having the com layer.
Is this possible?

Please don't read too much into this caveat wise. I just want to get
pointed in the right direction.

Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top