The RC4CryptoServiceProvider type exposes the following members.

Constructors

  NameDescription
Public methodRC4CryptoServiceProvider
Initializes a new instance of the RC4CryptoServiceProvider class.

Methods

  NameDescription
Public methodClear
Releases all resources used by the SymmetricAlgorithm class.
(Inherited from SymmetricAlgorithm.)
Public methodCreateDecryptor()()()()
Creates a symmetric decryptor object with the current Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodCreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][])
Creates a symmetric decryptor object with the specified Key.
(Overrides SymmetricAlgorithm..::..CreateDecryptor(array<Byte>[]()[][], array<Byte>[]()[][]).)
Public methodCreateEncryptor()()()()
Creates a symmetric encryptor object with the current Key property and initialization vector (IV).
(Inherited from SymmetricAlgorithm.)
Public methodCreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][])
Creates a symmetric encryptor object with the specified Key.
(Overrides SymmetricAlgorithm..::..CreateEncryptor(array<Byte>[]()[][], array<Byte>[]()[][]).)
Public methodDispose()()()()
Releases all resources used by the current instance of the SymmetricAlgorithm class.
(Inherited from SymmetricAlgorithm.)
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
(Inherited from SymmetricAlgorithm.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Finalizes the RC4CryptoServiceProvider.
(Overrides Object..::..Finalize()()()().)
Public methodGenerateIV
This is a stub method.
(Overrides RC4..::..GenerateIV()()()().)
Public methodGenerateKey
Generates a random Key to be used for the algorithm.
(Overrides RC4..::..GenerateKey()()()().)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodValidKeySize
Determines whether the specified key size is valid for the current algorithm.
(Inherited from SymmetricAlgorithm.)

Fields

  NameDescription
Protected fieldBlockSizeValue
Represents the block size, in bits, of the cryptographic operation.
(Inherited from SymmetricAlgorithm.)
Protected fieldFeedbackSizeValue
Represents the feedback size, in bits, of the cryptographic operation.
(Inherited from SymmetricAlgorithm.)
Protected fieldIVValue
Represents the initialization vector (IV) for the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldKeySizeValue
Represents the size, in bits, of the secret key used by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldKeyValue
Represents the secret key for the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldLegalBlockSizesValue
Specifies the block sizes, in bits, that are supported by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldLegalKeySizesValue
Specifies the key sizes, in bits, that are supported by the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldModeValue
Represents the cipher mode used in the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)
Protected fieldPaddingValue
Represents the padding mode used in the symmetric algorithm.
(Inherited from SymmetricAlgorithm.)

Properties

  NameDescription
Public propertyBlockSize
Gets or sets the block size of the cryptographic operation in bits.
(Overrides RC4..::..BlockSize.)
Public propertyFeedbackSize
Gets or sets the feedback size of the cryptographic operation in bits.
(Overrides RC4..::..FeedbackSize.)
Public propertyIV
Gets or sets the initialization vector (IV) for the symmetric algorithm.
(Overrides RC4..::..IV.)
Public propertyKey
Gets or sets the secret key for the symmetric algorithm.
(Overrides SymmetricAlgorithm..::..Key.)
Public propertyKeySize
Gets or sets the size of the secret key used by the symmetric algorithm in bits.
(Overrides SymmetricAlgorithm..::..KeySize.)
Public propertyLegalBlockSizes
Gets the block sizes that are supported by the symmetric algorithm.
(Overrides RC4..::..LegalBlockSizes.)
Public propertyLegalKeySizes
Gets the key sizes that are supported by the symmetric algorithm.
(Overrides RC4..::..LegalKeySizes.)
Public propertyMode
Gets or sets the mode for operation of the symmetric algorithm.
(Overrides RC4..::..Mode.)
Public propertyPadding
Gets or sets the padding mode used in the symmetric algorithm.
(Overrides RC4..::..Padding.)
Protected propertyRngCsp
Returns an RNGCryptoServiceProvider instance.
(Inherited from RC4.)

See Also