I’m new to WinRT and was exploring it’s security features and I’ve got a couple of questions regarding to Windows.Security.Cryptography.DataProtection.DataProtectionProvider class:
- What encryption algorithm does it use (e.g. AES or TwoFish)?
- According to MSDN document you can use symmetric key for encryption, anyone knows what do you pass in as ‘protectionDescription’ constructor argument if you want to do this?
- Finally, the MSDN document says you have to use the parameter-less constructor before calling the UnprotectAsync method. How come you don’t need to pass in a key to decrypt the data?
Thanks.
After I downloaded and went through the Metro samples as suggested by Ritch, I found out that I should be using classes under Windows.Security.Cryptography.Core namespace for data encryption.