Post Reply

[Q] Windows Phone 8.1 Encrypt data

26th April 2014, 09:25 PM   |  #1  
diego.stamigni's Avatar
OP Member
Flag Rome
Thanks Meter: 15
 
30 posts
Join Date:Joined: Jun 2010
Donate to Me
More
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..
27th April 2014, 05:51 AM   |  #2  
Senior Member
Flag Mashad
Thanks Meter: 89
 
345 posts
Join Date:Joined: Mar 2012
More
Quote:
Originally Posted by diego.stamigni

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
27th April 2014, 02:15 PM   |  #3  
diego.stamigni's Avatar
OP Member
Flag Rome
Thanks Meter: 15
 
30 posts
Join Date:Joined: Jun 2010
Donate to Me
More
Quote:
Originally Posted by ngame

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

Yep but I'm developing a universal library. I'll probably try Bouncy Castle (PCL) in order to do what I need.
28th April 2014, 09:43 PM   |  #4  
Recognized Developer
Flag Seattle
Thanks Meter: 2,698
 
5,682 posts
Join Date:Joined: Jan 2011
More
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.
Post Reply Subscribe to Thread

Tags
encryption, windows phone 8.1
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes