locked
Encryption in WinRT app and Decryption in WCF services using Fixed Key.

    Question

  • Hello All,

    I want to encrypt some data in windows 8 application and need to pass that data to WCF services hosted in Windows Azure, in this process i want to fix a key for encryption and decryption, and same thing want to do for a windows phone application.

    please help.

    Thanks in advance.

    Friday, December 12, 2014 1:42 PM

Answers

  • Hi I_vj,

    It’s possible to achieve your goal. Please refer to the following link to see the code example. http://stackoverflow.com/questions/11281350/encrypt-string-in-winrt-c-sharp-and-decrypt-it-in-c-sharp-net/11334311#11334311. But this approach seems a bit complex, it’s recommend that use RESTful service in your windows azure, it provides both encryption and decryption services to store app and windows phone app, then we can manage the whole security process on the service and it’s no need to transfer public or private key on the internet.

    Please feel free to let me know if you have any concerns.

    Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place. Click HERE to participate the survey.

    Monday, December 15, 2014 6:32 AM
    Moderator