Click here to Skip to main content
15,891,136 members

Comments by manoranjan (Top 22 by date)

manoranjan 31-Oct-16 4:48am View    
Please share the updated code and the new output.
manoranjan 14-Mar-16 3:37am View    
This is not the right answer. main() function returns int (and not void). See Solution 2.
manoranjan 18-Apr-14 16:30pm View    
You don't export Ka or Kb. Ka = Kb. As A, you will use Ka at your end to encrypt dsta to send it to B. B decrypts it using Kb. However, you have to export Ya and send it to B.

Do you want to know how you can use shared key (hSession in your ImportKey function) for encrypting data or create MAC?
manoranjan 22-Aug-13 9:35am View    
you are welcome!
manoranjan 22-Aug-13 2:58am View    
Use gcnew to instantiate your C# class in your C++ app and then use it.

E.g.:
MyCsClass ^cso = gcnew MyCsClass;
cso->f1();