The ARCFourManaged type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ARCFourManaged |
Initializes a new instance of the ARCFourManaged 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 RC4 decryptor object with the specified Key.
(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 RC4 encryptor object with the specified Key.
(Overrides SymmetricAlgorithm..::..CreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][]).) | |
| Dispose()()()() | Releases all resources used by the current instance of the SymmetricAlgorithm class. (Inherited from SymmetricAlgorithm.) | |
| Dispose(Boolean) |
Releases the unmanaged resources used by the ARCFourManaged 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 | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GenerateIV |
This is a stub method.
(Inherited from RC4.) | |
| GenerateKey |
Generates a random Key to be used for the algorithm.
(Inherited from RC4.) | |
| 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.) | |
| ValidKeySize | Determines whether the specified key size is valid for the current algorithm. (Inherited from SymmetricAlgorithm.) |
Fields
| Name | Description | |
|---|---|---|
| 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.) | |
| 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 of the cryptographic operation in bits.
(Inherited from RC4.) | |
| FeedbackSize |
Gets or sets the feedback size of the cryptographic operation in bits.
(Inherited from RC4.) | |
| IV |
Gets or sets the initialization vector (IV) for the symmetric algorithm.
(Inherited from RC4.) | |
| Key | Gets or sets the secret key for the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| KeySize | Gets or sets the size, in bits, of the secret key used by the symmetric algorithm. (Inherited from SymmetricAlgorithm.) | |
| LegalBlockSizes |
Gets the block sizes that are supported by the symmetric algorithm.
(Inherited from RC4.) | |
| LegalKeySizes |
Gets the key sizes that are supported by the symmetric algorithm.
(Inherited from RC4.) | |
| Mode |
Gets or sets the mode for operation of the symmetric algorithm.
(Inherited from RC4.) | |
| Padding |
Gets or sets the padding mode used in the symmetric algorithm.
(Inherited from RC4.) | |
| RngCsp |
Returns an RNGCryptoServiceProvider instance.
(Inherited from RC4.) |