Encrypting Data
The Microsoft patterns & practices mobile Password Authentication and mobile Configuration Application Blocks provide encryption and authentication services that meet the needs of many line-of-business mobile applications. However, they do not provide solutions for every security and encryption need. In this section, we discuss how to use the System.Security.Cryptography namespace directly to perform common encryption tasks.
Encrypting Using the AES Symmetric Algorithm
A symmetric algorithm is one in which exactly the same key is used for encryption and decryption. The most commonly used symmetric algorithm is Rijndael, which is the algorithm selected for the U.S. government Advanced Encryption Standard (see the sidebar titled
Get Microsoft® Mobile Development Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.