Using asymmetric encryption between Xamarin PCL Client and Web Api

1

I'm having a problem creating an asymmetric encryption between my client app using Xamarin Forms (PCL) and the server (Web Api). I did using symmetric and asked for me to modify. I already do everything via SSL, but still want asymmetric encryption for the data in the querystring and the json result.

My question is: Can I request the public key to the server and pass it via querystring normally to encrypt? Another question: Can I put a fixed private key and it create the public from it? Or does it leave you vulnerable?

If anyone has any examples using PCLCrypto or BouncyCastle for asymmetric, please post here. I can not find

    
asked by anonymous 20.09.2016 / 16:40

0 answers