Creating a Cryptographic SchemeĀ
The cryptographic components of the .NET Framework can be combined to create different schemes to encrypt and decrypt data.
A simple cryptographic scheme for encrypting and decrypting data might specify the following steps:
Each party generates a public/private key pair.
The parties exchange their public keys.
Each party generates a secret key for TripleDES encryption, for example, and encrypts the newly created key using the other's public key.
Each party sends the data to the other and combines the other's secret key with its own, in a particular order, to create a new secret key.
The parties then initiate a conversation using symmetric encryption.
Creating a cryptographic scheme is not a trivial task. For more information on using cryptography, see the Cryptography topic in the Platform SDK documentation at https://msdn.microsoft.com/library.