Encrypting and Decrypting Data

To encrypt and decrypt data, you must use a key with an encryption algorithm that performs a transformation on the data. The .NET Framework provides several classes that enable you to perform cryptographic transformations on data using several standard algorithms. This section describes how to create and manage keys and how to encrypt and decrypt data using public-key and secret-key algorithms.

Generating Keys for Encryption and Decryption

Describes symmetric and asymmetric algorithms used for encryption and decryption.

How to: Store Asymmetric Keys in a Key Container

Describes how to store private keys in a key container.

Encrypting Data

Explains how to do symmetric and asymmetric encryption.

Decrypting Data

Explains how to do symmetric and asymmetric decryption.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft