| SymmetricAlgorithm |
A symmetric algorithm is one that uses the same Key and Initialization Vector to both encrypt and decrypt data.
For one of the symmetric algorithms to work, a Key and Initialization Vector needs to be supplied to the Crypto Service Provider.
| Name | Description |
|---|---|
CipherMode | A defined set of cipher modes the algorithms can use. |
PaddingMode | A defined set of padding modes used to fill the end of non-blocksize length data blocks. For example if an algorithm has a blocksize of 8 bytes and the data is 3 bytes in length, then 5 bytes of padding must be applied. |
| Name | Description |
|---|---|
BlockSize (get) | Returns the block size, in bits, used by the cryptographic operation. |
BlockSize (let) | Sets the block size, in bits, used by the cryptographic operation. |
FeedbackSize (get) | Returns the feedback size, in bits, used by the cryptographic operation. |
FeedbackSize (let) | Sets the feedback size, in bits, used by the cryptographic operation. |
IV (get) | Returns the Initialization Vector used by the cryptographic operation. |
IV (let) | Sets the Initialization Vector used by the cryptographic operation. |
Key (get) | Returns the secret key used by the cryptographic operation. |
Key (let) | Sets the secret key to be used by the cryptographic operation. |
KeySize (get) | Returns the size of the key, in bits, used by the cryptographic operation. |
KeySize (let) | Sets the size of the key, in bits. |
LegalBlockSizes (get) | Returns a list of legal block sizes. |
LegalKeySizes (get) | Returns a list of legal key sizes. |
Mode (get) | Returns the mode the current algoritm is set to. |
Mode (let) | Sets the mode the current algorithm is set to. |
Padding (get) | Returns the padding to be used by the algorithm. |
Padding (let) | Sets the padding to be used by the algorithm. |
| Name | Description |
|---|---|
Clear | Releases all resources. |
CreateDecryptor | Creates a new decryptor using the Triple Data Encryption Standard algorithm. |
CreateEncryptor | Creates a new encryptor using the Triple Data Ecryption Standard algorithm. |
Equals | Returns if this instance and the value are equal. |
GenerateIV | Generates a new Initialization Vector array. |
GenerateKey | Generates a new Key based on the key size. |
GetHashCode | Returns a semi-unique value that represents this instance. |
ToString | Returns a string representation of this instance. |
ValidKeySize | Checks if the specific number of bits is a valid key size. |