System.Security.Cryptography Namespace

The System.Security.Cryptography namespace provides cryptographic services, including secure encoding and decoding of data, as well as many other operations, such as hashing, random number generation, and message authentication. For more information, see Cryptographic Services.

To be added.

Type | Reason |
---|---|

Aes |
Represents the abstract base class from which all implementations of the Advanced Encryption Standard (AES) must inherit. |

AesCryptoServiceProvider |
Performs symmetric encryption and decryption using the Cryptographic Application Programming Interfaces (CAPI) implementation of the Advanced Encryption Standard (AES) algorithm. |

AesManaged |
Provides a managed implementation of the Advanced Encryption Standard (AES) symmetric algorithm. |

AsnEncodedData |
Represents Abstract Syntax Notation One (ASN.1)-encoded data. |

AsnEncodedDataCollection |
Represents a collection of System.Security.Cryptography.AsnEncodedData objects. This class cannot be inherited. |

AsnEncodedDataEnumerator |
Provides the ability to navigate through an System.Security.Cryptography.AsnEncodedDataCollection object. This class cannot be inherited. |

AsymmetricAlgorithm |
Represents the abstract base class from which all implementations of asymmetric algorithms must inherit. |

AsymmetricKeyExchangeDeformatter |
Represents the base class from which all asymmetric key exchange deformatters derive. |

AsymmetricKeyExchangeFormatter |
Represents the base class from which all asymmetric key exchange formatters derive. |

AsymmetricSignatureDeformatter |
Represents the abstract base class from which all implementations of asymmetric signature deformatters derive. |

AsymmetricSignatureFormatter |
Represents the base class from which all implementations of asymmetric signature formatters derive. |

CipherMode |
Specifies the block cipher mode to use for encryption. |

CngAlgorithm |
Encapsulates the name of an encryption algorithm. |

CngAlgorithmGroup |
Encapsulates the name of an encryption algorithm group. |

CryptoAPITransform |
Performs a cryptographic transformation of data. This class cannot be inherited. |

CryptoConfig |
Accesses the cryptography configuration information. |

CryptographicAttributeObject |
Contains a type and a collection of values associated with that type. |

CryptographicAttributeObjectCollection |
Contains a set of System.Security.Cryptography.CryptographicAttributeObject objects. |

CryptographicAttributeObjectEnumerator |
Provides enumeration functionality for the System.Security.Cryptography.CryptographicAttributeObjectCollection collection. This class cannot be inherited. |

CryptographicException |
The exception that is thrown when an error occurs during a cryptographic operation. |

CryptographicUnexpectedOperationException |
The exception that is thrown when an unexpected operation occurs during a cryptographic operation. |

CryptoStream |
Defines a stream that links data streams to cryptographic transformations. |

CryptoStreamMode |
Specifies the mode of a cryptographic stream. |

CspKeyContainerInfo |
Provides additional information about a cryptographic key pair. This class cannot be inherited. |

CspParameters |
Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited. |

CspProviderFlags |
Specifies flags that modify the behavior of the cryptographic service providers (CSP). |

DataProtectionScope |
Specifies the scope of the data protection to be applied by the System.Security.Cryptography.ProtectedData.Protect(Byte[], Byte[], System.Security.Cryptography.DataProtectionScope) method. |

DeriveBytes |
Represents the abstract base class from which all classes that derive byte sequences of a specified length inherit. |

DES |
Represents the base class for the Data Encryption Standard (DES) algorithm from which all System.Security.Cryptography.DES implementations must derive. |

DESCryptoServiceProvider |
Defines a wrapper object to access the cryptographic service provider (CSP) version of the Data Encryption Standard (System.Security.Cryptography.DES) algorithm. This class cannot be inherited. |

DSA |
Represents the abstract base class from which all implementations of the Digital Signature Algorithm (System.Security.Cryptography.DSA) must inherit. |

DSACryptoServiceProvider |
Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the System.Security.Cryptography.DSA algorithm. This class cannot be inherited. |

DSAParameters |
Contains the typical parameters for the System.Security.Cryptography.DSA algorithm. |

DSASignatureDeformatter |
Verifies a Digital Signature Algorithm (System.Security.Cryptography.DSA) PKCS#1 v1.5 signature. |

DSASignatureFormatter |
Creates a Digital Signature Algorithm (System.Security.Cryptography.DSA) signature. |

FromBase64Transform |
Converts a System.Security.Cryptography.CryptoStream from base 64. |

FromBase64TransformMode |
Specifies whether white space should be ignored in the base 64 transformation. |

HashAlgorithm |
Represents the base class from which all implementations of cryptographic hash algorithms must derive. |

HMAC |
Represents the abstract class from which all implementations of Hash-based Message Authentication Code (HMAC) must derive. |

HMACMD5 |
Computes a Hash-based Message Authentication Code (HMAC) by using the System.Security.Cryptography.MD5 hash function. |

HMACRIPEMD160 |
Computes a Hash-based Message Authentication Code (HMAC) by using the System.Security.Cryptography.RIPEMD160 hash function. |

HMACSHA1 |
Computes a Hash-based Message Authentication Code (HMAC) using the System.Security.Cryptography.SHA1 hash function. |

HMACSHA256 |
Computes a Hash-based Message Authentication Code (HMAC) by using the System.Security.Cryptography.SHA256 hash function. |

HMACSHA384 |
Computes a Hash-based Message Authentication Code (HMAC) using the System.Security.Cryptography.SHA384 hash function. |

HMACSHA512 |
Computes a Hash-based Message Authentication Code (HMAC) using the System.Security.Cryptography.SHA512 hash function. |

ICryptoTransform |
Defines the basic operations of cryptographic transformations. |

ICspAsymmetricAlgorithm |
Defines methods that allow an System.Security.Cryptography.AsymmetricAlgorithm class to enumerate key container information, and import and export Microsoft Cryptographic API (CAPI)â€“compatible key blobs. |

KeyedHashAlgorithm |
Represents the abstract class from which all implementations of keyed hash algorithms must derive. |

KeyNumber |
Specifies whether to create an asymmetric signature key or an asymmetric exchange key. |

KeySizes |
Determines the set of valid key sizes for the symmetric cryptographic algorithms. |

MACTripleDES |
Computes a Message Authentication Code (MAC) using System.Security.Cryptography.TripleDES for the input data System.Security.Cryptography.CryptoStream. |

MaskGenerationMethod |
Represents the abstract class from which all mask generator algorithms must derive. |

MD5 |
Represents the abstract class from which all implementations of the System.Security.Cryptography.MD5 hash algorithm inherit. |

MD5Cng |
Provides a CNG (Cryptography Next Generation) implementation of the MD5 (Message Digest 5) 128-bit hashing algorithm. |

MD5CryptoServiceProvider |
Computes the System.Security.Cryptography.MD5 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited. |

MemoryProtectionScope |
Specifies the scope of memory protection to be applied by the System.Security.Cryptography.ProtectedMemory.Protect(Byte[], System.Security.Cryptography.MemoryProtectionScope) method. |

Oid |
Represents a cryptographic object identifier. This class cannot be inherited. |

OidCollection |
Represents a collection of System.Security.Cryptography.Oid objects. This class cannot be inherited. |

OidEnumerator |
Provides the ability to navigate through an System.Security.Cryptography.OidCollection object. This class cannot be inherited. |

PaddingMode |
Specifies the type of padding to apply when the message data block is shorter than the full number of bytes needed for a cryptographic operation. |

PasswordDeriveBytes |
Derives a key from a password using an extension of the PBKDF1 algorithm. |

PKCS1MaskGenerationMethod |
Computes masks according to PKCS #1 for use by key exchange algorithms. |

ProtectedData |
Provides methods for encrypting and decrypting data. This class cannot be inherited. |

ProtectedMemory |
Provides methods for protecting and unprotecting memory. This class cannot be inherited. |

RandomNumberGenerator |
Represents the abstract class from which all implementations of cryptographic random number generators derive. |

RC2 |
Represents the base class from which all implementations of the System.Security.Cryptography.RC2 algorithm must derive. |

RC2CryptoServiceProvider |
Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the System.Security.Cryptography.RC2 algorithm. This class cannot be inherited. |

Rfc2898DeriveBytes |
Implements password-based key derivation functionality, PBKDF2, by using a pseudo-random number generator based on System.Security.Cryptography.HMACSHA1. |

Rijndael |
Represents the base class from which all implementations of the System.Security.Cryptography.Rijndael symmetric encryption algorithm must inherit. |

RijndaelManaged |
Accesses the managed version of the System.Security.Cryptography.Rijndael algorithm. This class cannot be inherited. |

RijndaelManagedTransform |
Performs a cryptographic transformation of data using the Rijndael algorithm. This class cannot be inherited. |

RIPEMD160 |
Represents the abstract class from which all implementations of the MD160 hash algorithm inherit. |

RIPEMD160Managed |
Computes the System.Security.Cryptography.RIPEMD160 hash for the input data using the managed library. |

RNGCryptoServiceProvider |
Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited. |

RSA |
Represents the base class from which all implementations of the System.Security.Cryptography.RSA algorithm inherit. |

RSACryptoServiceProvider |
Performs asymmetric encryption and decryption using the implementation of the System.Security.Cryptography.RSA algorithm provided by the cryptographic service provider (CSP). This class cannot be inherited. |

RSAOAEPKeyExchangeDeformatter |
Decrypts Optimal Asymmetric Encryption Padding (OAEP) key exchange data. |

RSAOAEPKeyExchangeFormatter |
Creates Optimal Asymmetric Encryption Padding (OAEP) key exchange data using System.Security.Cryptography.RSA. |

RSAParameters |
Represents the standard parameters for the System.Security.Cryptography.RSA algorithm. |

RSAPKCS1KeyExchangeDeformatter |
Decrypts the PKCS #1 key exchange data. |

RSAPKCS1KeyExchangeFormatter |
Creates the PKCS#1 key exchange data using System.Security.Cryptography.RSA. |

RSAPKCS1SignatureDeformatter |
Verifies an System.Security.Cryptography.RSA PKCS #1 version 1.5 signature. |

RSAPKCS1SignatureFormatter |
Creates an System.Security.Cryptography.RSA PKCS #1 version 1.5 signature. |

SHA1 |
Computes the System.Security.Cryptography.SHA1 hash for the input data. |

SHA1Cng |
Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA). |

SHA1CryptoServiceProvider |
Computes the System.Security.Cryptography.SHA1 hash value for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited. |

SHA1Managed |
Computes the System.Security.Cryptography.SHA1 hash for the input data using the managed library. |

SHA256 |
Computes the System.Security.Cryptography.SHA256 hash for the input data. |

SHA256Cng |
Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 256-bit hash values. |

SHA256CryptoServiceProvider |
Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the System.Security.Cryptography.SHA256 algorithm. |

SHA256Managed |
Computes the System.Security.Cryptography.SHA256 hash for the input data using the managed library. |

SHA384 |
Computes the System.Security.Cryptography.SHA384 hash for the input data. |

SHA384Cng |
Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 384-bit hash values. |

SHA384CryptoServiceProvider |
Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the System.Security.Cryptography.SHA384 algorithm. |

SHA384Managed |
Computes the System.Security.Cryptography.SHA384 hash for the input data using the managed library. |

SHA512 |
Computes the System.Security.Cryptography.SHA512 hash for the input data. |

SHA512Cng |
Provides a Cryptography Next Generation (CNG) implementation of the Secure Hash Algorithm (SHA) for 512-bit hash values. |

SHA512CryptoServiceProvider |
Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the System.Security.Cryptography.SHA512 algorithm. |

SHA512Managed |
Computes the System.Security.Cryptography.SHA512 hash algorithm for the input data using the managed library. |

SignatureDescription |
Contains information about the properties of a digital signature. |

SymmetricAlgorithm |
Represents the abstract base class from which all implementations of symmetric algorithms must inherit. |

ToBase64Transform |
Converts a System.Security.Cryptography.CryptoStream to base 64. |

TripleDES |
Represents the base class for Triple Data Encryption Standard algorithms from which all System.Security.Cryptography.TripleDES implementations must derive. |

TripleDESCryptoServiceProvider |
Defines a wrapper object to access the cryptographic service provider (CSP) version of the System.Security.Cryptography.TripleDES algorithm. This class cannot be inherited. |