How to use DataProtectionProvider?

I am new to WinRT and studied its security features, and I have a few questions regarding the Windows.Security.Cryptography.DataProtection.DataProtectionProvider class:

  • What encryption algorithm does it use (e.g. AES or TwoFish)?
  • According to the MSDN document, you can use a symmetric key for encryption, does anyone know what you pass as the argument of the constructor "protectionDescription" if you want to do this?
  • Finally, in the MSDN document, you need to use the parameterless constructor before calling the UnprotectAsync method. Why don't you need to pass a key to decrypt the data?

Thank.

+5
source share
2 answers

, Metro, Ritch, , Windows.Security.Cryptography.Core .

0

. DataProtectionProvider.

+2

All Articles