Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,372 Members 39,271 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Windows Phone 8.1 Encrypt data

Tip us?
 
diego.stamigni
Old
#1  
diego.stamigni's Avatar
Member - OP
Thanks Meter 15
Posts: 30
Join Date: Jun 2010
Location: Rome

 
DONATE TO ME
Question [Q] Windows Phone 8.1 Encrypt data

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..
Lŕđ sri
Member of Linux Foundation
( My Twitter ) -> ( http://www.diegostamigni.com )
 
ngame
Old
#2  
Senior Member
Thanks Meter 86
Posts: 335
Join Date: Mar 2012
Location: Mashad
Quote:
Originally Posted by diego.stamigni View Post
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
Nokia Lumia 920
GDR3 Developer Preview
Developer Unlock : ✔
Interop Unlock : Soon...
 
diego.stamigni
Old
#3  
diego.stamigni's Avatar
Member - OP
Thanks Meter 15
Posts: 30
Join Date: Jun 2010
Location: Rome

 
DONATE TO ME
Quote:
Originally Posted by ngame View Post
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.
Lŕđ sri
Member of Linux Foundation
( My Twitter ) -> ( http://www.diegostamigni.com )
 
GoodDayToDie
Old
#4  
Recognized Developer
Thanks Meter 2643
Posts: 5,529
Join Date: Jan 2011
Location: 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.
Win8/Windows RT projects:
List of desktop apps for hacked RT devices

WP8 projects:
Native Access WebServer and Libraries
WP8 Interop Unlocks
Storage Cleanup tool

WP7 projects:
XapHandler, Root Webserver, OEM Marketplace XAPs, Bookmarklets collection (Find On Page), Interop-unlock hacks.


Do not private message me with questions that should have been posted on the forum! Not only are you wasting your time - I'm not going to bother writing an answer to such a question for only one person - but I will probably block you from PMing me in the future as well.
Tags
encryption, windows phone 8.1
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes