Export (0) Print
Expand All
Expand Minimize
8 out of 9 rated this helpful - Rate this topic

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.

Namespace hierarchy

Classes

Class Description
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.
CryptoAPITransform Performs a cryptographic transformation of data.
CryptoConfig Accesses the cryptography configuration information.
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.
CspParameters Contains parameters that are passed to the cryptographic service provider (CSP) that performs cryptographic computations. This class cannot be inherited.
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 DES implementations must derive.
DESCryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) version of the Data Encryption Standard (DES) algorithm. This class cannot be inherited.
DSA Represents the abstract base class from which all implementations of the Digital Signature Algorithm (DSA) must inherit.
DSACryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the DSA algorithm.
DSASignatureDeformatter Verifies a Digital Signature Algorithm (DSA) PKCS#1 v1.5 signature.
DSASignatureFormatter Creates a Digital Signature Algorithm (DSA) PKCS#1 v1.5 signature.
FromBase64Transform Converts a CryptoStream from base 64.
HashAlgorithm Represents the base class from which all implementations of cryptographic hash algorithms must derive.
HMACSHA1 Computes a Hash-based Message Authentication Code (HMAC) using the SHA1 hash function.
KeyedHashAlgorithm Represents the abstract class from which all implementations of keyed hash algorithms must derive.
KeySizes Determines the set of valid key sizes for the symmetric cryptographic algorithms.
MACTripleDES Computes a Message Authentication Code (MAC) using TripleDES for the input data 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 MD5 hash algorithm inherit.
MD5CryptoServiceProvider Computes the MD5 hash for the input data using the implementation provided by the cryptographic service provider (CSP).
PasswordDeriveBytes Derives a key from a password.
PKCS1MaskGenerationMethod Computes masks according to PKCS #1 for use by key exchange algorithms.
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 RC2 algorithm must derive.
RC2CryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) implementation of the RC2 algorithm. This class cannot be inherited.
Rijndael Represents the base class from which all implementations of the Rijndael symmetric encryption algorithm must inherit.
RijndaelManaged Accesses the managed version of the Rijndael algorithm. This class cannot be inherited.
RNGCryptoServiceProvider Implements a cryptographic Random Number Generator (RNG) using the implementation provided by the cryptographic service provider (CSP).
RSA Represents the base class from which all implementations of the RSA algorithm inherit.
RSACryptoServiceProvider Performs asymmetric encryption and decryption using the implementation of the 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 RSA.
RSAPKCS1KeyExchangeDeformatter Decrypts the PKCS #1 key exchange data.
RSAPKCS1KeyExchangeFormatter Creates the PKCS#1 key exchange data using RSA.
RSAPKCS1SignatureDeformatter Verifies an RSA PKCS #1 version 1.5 signature.
RSAPKCS1SignatureFormatter Creates an RSA PKCS #1 version 1.5 signature.
SHA1 Computes the SHA1 hash for the input data.
SHA1CryptoServiceProvider Computes the SHA1 hash for the input data using the implementation provided by the cryptographic service provider (CSP). This class cannot be inherited.
SHA1Managed Computes the SHA1 hash for the input data using the managed library.
SHA256 Computes the SHA256 hash for the input data.
SHA256Managed Computes the SHA256 hash for the input data using the managed library.
SHA384 Computes the SHA384 hash for the input data.
SHA384Managed Computes the SHA384 hash for the input data using the managed library.
SHA512 Computes the SHA512 hash for the input data.
SHA512Managed Computes the SHA512 hash 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 CryptoStream to base 64.
TripleDES Represents the base class for Triple Data Encryption Standard algorithms from which all TripleDES implementations must derive.
TripleDESCryptoServiceProvider Defines a wrapper object to access the cryptographic service provider (CSP) version of the TripleDES algorithm. This class cannot be inherited.

Interfaces

Interface Description
ICryptoTransform Defines the basic operations of cryptographic transformations.

Structures

Structure Description
DSAParameters Contains the typical parameters for the DSA algorithm.
RSAParameters Represents the standard parameters for the RSA algorithm.

Enumerations

Enumeration Description
CipherMode Specifies the block cipher mode to use for encryption.
CryptoStreamMode Specifies the mode of a cryptographic stream.
CspProviderFlags Specifies flags that modify the behavior of CryptoAPI cryptographic service providers (CSPs).
FromBase64TransformMode Specifies whether white space should be ignored in the base 64 transformation.
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.

See Also

.NET Framework Class Library

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.