I’m working on a university project that requires encrypted data to be sent from a Windows Phone to a WCF service. I have control over both sides.
I know next to nothing about encryption and wondered what the best way to encrypt simple string data would be between the client and server? If it makes any difference, the WCF endpoint is using HTTP.
Does anybody have any good recommendations for a starting point?
Take a look at the following links
Broadly speaking, #1 and #2 indicate two different ways to secure communications with a WCF endpoint. #1 uses HTTPS bindings to secure the transport channel, while #2 involves encrypting and/or signing the actual messages (either the whole message, or parts of it). Depending on your requirements, you might need either #1 or a combination of #1 and #2. Transport Security is by far the simplest option, and good enough for most use cases.