Cryptographic Services
Public networks such as the Internet do not provide a means of secure communication between entities. Communication over such networks is susceptible to being read or even modified by unauthorized third parties. In addition to file encryption and encryption on a local disk, cryptography helps you create a secure means of communication over otherwise insecure channels, providing data integrity and authentication.
The classes in the .NET Framework cryptography namespace manage many details of cryptography for you. Some are wrappers for the unmanaged Microsoft CryptoAPI, while others are purely managed implementations. You do not need to be an expert in cryptography to use these classes. When you create a new instance of one of the encryption algorithm classes, keys are autogenerated for ease of use, and default properties are as safe and secure as possible.
In This Section
- Cryptography Overview
Provides an introduction to key concepts in cryptography, such as asymmetric cryptography, symmetric cryptography, digital signatures, and cryptographic hashes.
- .NET Framework Cryptography Model
Describes how cryptography is implemented in the base class library.
- Cryptographic Tasks
Describes how to perform specific cryptographic tasks using the base class library.
- Walkthrough: Creating a Cryptographic Application
Demonstrates basic encryption and decryption tasks.
Related Sections
- Configuring Cryptography Classes
Describes how to map algorithm names to cryptographic classes and map object identifiers to a cryptographic algorithm.
- About System.Security.Cryptography.Pkcs
Describes the namespace that contains the managed code implementation of the Cryptographic Message Syntax (CMS) and Public-Key Cryptography Standards #7 (PKCS #7) standards. This section is of interest to developers.
- Using System.Security.Cryptography.Pkcs
Explains how to use the System.Security.Cryptography.Pkcs namespace to program the Cryptographic Message Syntax (CMS) and Public-Key Cryptography Standards #7 (PKCS #7) standards into your application. This section is of interest to developers.
- Security in the .NET Framework
Describes the entire .NET Framework security system.