views:

30

answers:

1

I have bunch of screens (asp.net C#) capturing data and transferring it back to a web service using json.

How can i encrypt content like passwords and decrypt it back in the C# code?

A: 

passwords are usually encrypted in an asymetric fashion (ie they can't be decrypted) so that's not what you want...

What's your problem ?

I you just want to be sure the data comes from your app and not some random evil guy a signature would be enough.

If you want nobody to intercept your data why not use HTTPS ?

siukurnin
Indeed, if the web service accepts HTTPS than the entire transaction would be encrypted, without much complex coding.
ewall