Which code segment should you recommend adding to line 06?

You are developing a Windows Store app.
The app will store data in a text file.
You create the following method to store encrypted text in the text file:

The WriteData method writes the contents of an IBuffer object to a StorageFile object.
You need to recommend a solution to encrypt the data. The solution must minimize the use of
system resources and must ensure that the app can decrypt the data.
Which code segment should you recommend adding to line 06?

You are developing a Windows Store app.
The app will store data in a text file.
You create the following method to store encrypted text in the text file:

The WriteData method writes the contents of an IBuffer object to a StorageFile object.
You need to recommend a solution to encrypt the data. The solution must minimize the use of
system resources and must ensure that the app can decrypt the data.
Which code segment should you recommend adding to line 06?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
http://msdn.microsoft.com/enus/library/windows/apps/windows.security.cryptography.core.symmetrickeyalgorithmprovider.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *