[Q] Windows Phone 8.1 Encrypt data

Search This thread
Jun 18, 2010
30
15
Rome
www.diegostamigni.com
Hello, I need to encrypt a string with a public key (or certificate) obtained from a REST service. I have these in base64 format. The question is: how can I do on Windows Phone 8.1? There's no X509Certificate, X509Certificate2 or RsaCryptoServiceProvider available..

I'm using Visual Studio 2013 Update 2..
 

ngame

Senior Member
Mar 13, 2012
1,126
554
Mashad
Hello, I need to encrypt a string with a public key (or certificate) obtained from a REST service. I have these in base64 format. The question is: how can I do on Windows Phone 8.1? There's no X509Certificate, X509Certificate2 or RsaCryptoServiceProvider available..

I'm using Visual Studio 2013 Update 2..

I think you are now using non-Silverlight apps in visual studio.
Try Silverlight application
 

GoodDayToDie

Inactive Recognized Developer
Jan 20, 2011
6,066
2,933
Seattle
Universal libraries are extremely crippled. Many features are unavailable for universal libs, even things that can be done (in different ways) across all the different platforms you are targeting.

BouncyCastle is a decent option though, as long as you don't need native performance.