The Cast5Managed type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Cast5Managed |
Initializes a new instance of the Cast5Managed class.
|
Methods
| Name | Description | |
|---|---|---|
| Clear | Releases all resources used by the SymmetricAlgorithm class. (Inherited from SymmetricAlgorithm.) | |
| CreateDecryptor()()()() | Creates a symmetric decryptor object with the current Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm.) | |
| CreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][]) |
Creates a symmetric decryptor object with the specified Key property and initialization vector (IV).
(Overrides SymmetricAlgorithm..::..CreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][]).) | |
| CreateEncryptor()()()() | Creates a symmetric encryptor object with the current Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm.) | |
| CreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][]) |
Creates a symmetric encryptor object with the specified Key property and initialization vector (IV).
(Overrides SymmetricAlgorithm..::..CreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][]).) | |
| Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Dispose(Boolean) |
Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
(Overrides SymmetricAlgorithm..::..Dispose(Boolean).) | |
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
| Finalize |
Releases unmanaged resources and performs other cleanup operations before the
Cast5Managed is reclaimed by garbage collection.
(Overrides Object..::..Finalize()()()().) | |
| GenerateIV |
Generates a random initialization vector (IV) to use for the algorithm.
(Overrides SymmetricAlgorithm..::..GenerateIV()()()().) | |
| GenerateKey |
Generates a random key (Key) to use for the algorithm.
(Overrides SymmetricAlgorithm..::..GenerateKey()()()().) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) | |
| TransformBlock |
Transforms the specified region of the input byte array and copies the resulting transform to the specified region of the output byte array.
| |
| TransformFinalBlock |
Transforms the specified region of the specified byte array.
| |
| ValidKeySize | Determines whether the specified key size is valid for the current algorithm. (Inherited from SymmetricAlgorithm.) |
Fields
| Name | Description | |
|---|---|---|
| BLOCK_SIZE | The block size in bytes. | |
| BlockSizeValue | Represents the block size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.) | |
| FeedbackSizeValue | Represents the feedback size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.) | |
| IVValue | Represents the initialization vector (IV) for the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| KeySizeValue | Represents the size, in bits, of the secret key used by the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| KeyValue | Represents the secret key for the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| LegalBlockSizesValue | Specifies the block sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| LegalKeySizesValue | Specifies the key sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| MAX_KEY_LENGTH |
The key size for this algorithm is 128 bits (16 BYTES)
| |
| ModeValue | Represents the cipher mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| PaddingValue | Represents the padding mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm.) |
Properties
| Name | Description | |
|---|---|---|
| BlockSize | Gets or sets the block size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.) | |
| CanReuseTransform |
Gets a value indicating whether the current transform can be reused.
| |
| CanTransformMultipleBlocks |
Gets a value indicating whether multiple blocks can be transformed.
| |
| FeedbackSize | Gets or sets the feedback size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm.) | |
| InputBlockSize |
Gets the input block size.
| |
| IV |
Gets or sets the initialization vector (IV) for the symmetric algorithm.
(Overrides SymmetricAlgorithm..::..IV.) | |
| Key |
Gets or sets the secret key for the symmetric algorithm.
(Overrides SymmetricAlgorithm..::..Key.) | |
| KeySize |
Gets or sets the size, in bits, of the secret key used by the symmetric algorithm.
(Overrides SymmetricAlgorithm..::..KeySize.) | |
| LegalBlockSizes | Gets the block sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| LegalKeySizes | Gets the key sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| Mode |
Gets or sets the mode for operation of the symmetric algorithm.
(Overrides SymmetricAlgorithm..::..Mode.) | |
| OutputBlockSize |
Gets the output block size.
| |
| Padding | Gets or sets the padding mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm.) |