Here are some good Cryptography related resources.
Cryptography Overview
http://msdn2.microsoft.com/en-us/library/92f9ye3s.aspx
New and improved Security in the .Net Framework2.0
http://msdn2.microsoft.com/en-us/library/aa480472.aspx the examples are very useful
Protect Private Data with the Cryptography Namespaces of the .NET Frameworkhttp://msdn.microsoft.com/msdnmag/issues/02/06/crypto/ should help you get an insight on .NET Cryptography essentials.
Walkthrough Creating a Cryptographic Application.
http://msdn2.microsoft.com/en-us/library/aa964697.aspx
Cryptographic Services
http://msdn2.microsoft.com/en-us/library/93bskf9z.aspx
Cryptographic Tasks
http://msdn2.microsoft.com/en-us/library/7yx4d854.aspx
- Encrypting and Decrypting Data
-
Describes how to generate and manage keys and how to encrypt and decrypt data.
- Cryptographic Signatures
-
Describes how to generate and verify cryptographic signatures.
- Ensuring Data Integrity with Hash Codes
-
Describes how to generate and verify hash codes.
- Creating a Cryptographic Scheme
-
Describes how to help create a cryptographic scheme from the various cryptographic primitives.
- Extending the KeyedHashAlgorithm Class
-
Describes how to extend the .NET Framework cryptographic classes by creating a keyed hash algorithm class that implements the MD5 hash algorithm.
- XML Encryption and Digital Signatures
-
Provides links to reference and task-based documentation for XML encryption and digital signatures.
- How to: Use Data Protection
-
Describes how to use the managed data protection API (DPAPI) to encrypt and decrypt data.
- How to: Access Hardware Encryption Devices
-
Describes how to use hardware encryption devices with the .NET Framework.
XML Encryption and Digital Signatures
http://msdn2.microsoft.com/en-us/library/ms229749.aspx
How to: Encrypt XML Elements with Symmetric Keys
-
Describes how to encrypt an XML element using the Rijndael algorithm.
- How to: Decrypt XML Elements with Symmetric Keys
-
Describes how to decrypt an XML element that was encrypted using the Rijndael algorithm.
- How to: Encrypt XML Elements with Asymmetric Keys
-
Describes how to encrypt an XML element using the RSA algorithm.
- How to: Decrypt XML Elements with Asymmetric Keys
-
Describes how to decrypt an XML element using the RSA algorithm.
- How to: Encrypt XML Elements with X.509 Certificates
-
Describes how to encrypt an XML element using an X.509 certificate from a certificate store.
- How to: Decrypt XML Elements with X.509 Certificates
-
Describes how to decrypt an XML element using an X.509 certificate from a certificate store.
- How to: Sign XML Documents with Digital Signatures
-
Describes how to sign an XML document using the RSA algorithm.
- How to: Verify the Digital Signatures of XML Documents
-
Describes how to verify an XML document using the RSA algorithm.
About System.Security.Cryptography.Pkcs
http://msdn2.microsoft.com/en-us/library/ms180945.aspx
Using System.Security.Cryptography.Pkcs
http://msdn2.microsoft.com/en-us/library/ms180955.aspx
- How to: Sign Messages by One Signer
-
Creates a CMS/PKCS #7 signed message. The message is signed by a single signer.
- How to: Sign a Message by Multiple Signers
-
Creates a CMS/PKCS #7 signed message. The message is signed by multiple signers.
- How to: Countersign a Message
-
Creates a CMS/PKCS #7 signed message. The message is signed by a single signer. That signature is then countersigned by two other signers.
- How to: Envelope a Message for One Recipient
-
Creates a CMS/PKCS #7 enveloped message. The message is encrypted for a single recipient.
- How to: Envelope a Message for Multiple Recipients
-
Creates a CMS/PKCS #7 enveloped message. The message is encrypted for multiple recipients.
- How to: Sign and Envelop a Message
-
Creates a CMS/PKCS #7 enveloped signed message. The message is first signed by a single signer and is then encrypted for a single recipient.
- Supporting Tasks for Using System.Security.Cryptography.Pkcs
-
Contains additional programming tasks.
-