The .NET Framework offers basic support for cryptographic operations inside of the
System.Security.Cryptographynamespace in the
mscorlibassembly. Out of the box, you are provided with implementations of many common symmetric key and public key-based algorithms. In addition, the cryptography framework was designed to be extensible, so that your implementation of any algorithm can be plugged in quite easily.