SymmetricAlgorithm Members
Represents the abstract base class from which all implementations of symmetric algorithms must inherit.
The following tables list the members exposed by the SymmetricAlgorithm type.
| Name | Description | |
|---|---|---|
| BlockSizeValue | Represents the block size, in bits, of the cryptographic operation. |
| FeedbackSizeValue | Represents the feedback size, in bits, of the cryptographic operation. |
| IVValue | Represents the initialization vector (IV) for the symmetric algorithm. |
| KeySizeValue | Represents the size, in bits, of the secret key used by the symmetric algorithm. |
| KeyValue | Represents the secret key for the symmetric algorithm. |
| LegalBlockSizesValue | Specifies the block sizes that are supported by the symmetric algorithm. |
| LegalKeySizesValue | Specifies the key sizes that are supported by the symmetric algorithm. |
| ModeValue | Represents the cipher mode used in the symmetric algorithm. |
| PaddingValue | Represents the padding mode used in the symmetric algorithm. |
| Name | Description | |
|---|---|---|
| BlockSize | Gets or sets the block size, in bits, of the cryptographic operation. |
| FeedbackSize | Gets or sets the feedback size, in bits, of the cryptographic operation. |
| IV | Gets or sets the initialization vector (IV) for the symmetric algorithm. |
| Key | Gets or sets the secret key for the symmetric algorithm. |
| KeySize | Gets or sets the size, in bits, of the secret key used by the symmetric algorithm. |
| LegalBlockSizes | Gets the block sizes that are supported by the symmetric algorithm. |
| LegalKeySizes | Gets the key sizes that are supported by the symmetric algorithm. |
| Mode | Gets or sets the mode for operation of the symmetric algorithm. |
| Padding | Gets or sets the padding mode used in the symmetric algorithm. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Clear | Releases all resources used by the SymmetricAlgorithm class. |
| Create | Overloaded. Creates a cryptographic object used to perform the symmetric algorithm. |
| CreateDecryptor | Overloaded. Creates a symmetric decryptor object. |
| CreateEncryptor | Overloaded. Creates a symmetric encryptor object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GenerateIV | When overridden in a derived class, generates a random initialization vector (IV) to use for the algorithm. |
| GenerateKey | When overridden in a derived class, generates a random key (Key) to use for the algorithm. |
| GetHashCode | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| ValidKeySize | Determines whether the specified key size is valid for the current algorithm. |
| Name | Description | |
|---|---|---|
| Dispose | Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| System.IDisposable.Dispose | Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. |
Reference
SymmetricAlgorithm ClassSystem.Security.Cryptography Namespace