Author: yunuzzz | Posted on: 1/18/2010 12:35:12 AM | Views : 277

How do i perform signing sensitive data in WebApp?
My algoritm:
byte[] pubKey; byte[] sign; using (var signer = new DSACryptoServiceProvider()) { // export public key: pubKey = signer.ExportCspBlob(false); // CryptographicException: The system cannot find the file specified. // sign data: sign = signer.SignData(myOriginalData); } // using -------------------------------------------------------- using (var signer = new DSACryptoServiceProvider()) { // import public key: signer.ImportCspBlob(pubKey); verified = signer.VerifyData(myOriginalData, sign); } // using


The code above works in WinApp but doesn't in WebApp .
Can you fix the code above so it can run under WebApp -or- any other method/idea to protect sensitive data from mo ...

Go to the complete details ...