This documentation is archived and is not being maintained.

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.

See Also

Generating Keys for Encryption and Decryption | Encrypting Data | Decrypting Data | Cryptographic Tasks | Cryptographic Services