Mentalis.org Security Library documentation

RC4CryptoServiceProvider Members

Public Instance Constructors

RC4CryptoServiceProvider Constructor Initializes a new instance of the RC4CryptoServiceProvider class.

Public Instance Properties

BlockSize Gets or sets the block size of the cryptographic operation in bits.
FeedbackSize Gets or sets the feedback size of the cryptographic operation in bits.
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 of the secret key used by the symmetric algorithm in bits.
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.

Public Instance Methods

Clear (inherited from SymmetricAlgorithm) Releases all resources used by the SymmetricAlgorithm.
CreateDecryptorOverloaded. Creates a symmetric decryptor object with the specified Key.
CreateDecryptor (inherited from SymmetricAlgorithm)Creates a symmetric decryptor object with the current Key and initialization vector (IV).
CreateEncryptorOverloaded. Creates a symmetric encryptor object with the specified Key.
CreateEncryptor (inherited from SymmetricAlgorithm) Creates a symmetric encryptor object with the current Key and initialization vector (IV).
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GenerateIV This is a stub method.
GenerateKey Generates a random Key to be used for the algorithm.
GetHashCode (inherited from Object)Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object)Gets the Type of the current instance.
ToString (inherited from Object)Returns a String that represents the current Object.
ValidKeySize (inherited from SymmetricAlgorithm)Determines whether the specified key size is valid for the current algorithm.

Protected Instance Fields

BlockSizeValue (inherited from System.Security.Cryptography.SymmetricAlgorithm) Represents the block size of the cryptographic operation in bits.
FeedbackSizeValue (inherited from System.Security.Cryptography.SymmetricAlgorithm)Represents the feedback size of the cryptographic operation in bits.
IVValue (inherited from System.Security.Cryptography.SymmetricAlgorithm) Represents the initialization vector (IV) for the symmetric algorithm.
KeySizeValue (inherited from System.Security.Cryptography.SymmetricAlgorithm)Represents the size of the secret key used by the symmetric algorithm in bits.
KeyValue (inherited from System.Security.Cryptography.SymmetricAlgorithm) Represents the secret key for the symmetric algorithm.
LegalBlockSizesValue (inherited from System.Security.Cryptography.SymmetricAlgorithm)Specifies the block sizes that are supported by the symmetric algorithm.
LegalKeySizesValue (inherited from System.Security.Cryptography.SymmetricAlgorithm)Specifies the key sizes that are supported by the symmetric algorithm.
ModeValue (inherited from System.Security.Cryptography.SymmetricAlgorithm)Represents the cipher mode used in the symmetric algorithm.
PaddingValue (inherited from System.Security.Cryptography.SymmetricAlgorithm)Represents the padding mode used in the symmetric algorithm.

Protected Instance Methods

Dispose (inherited from SymmetricAlgorithm) Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
Finalize Finalizes the RC4CryptoServiceProvider.
GetRNGCSP (inherited from RC4) Returns an RNGCryptoServiceProvider instance.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

Explicit Interface Implementations

IDisposable.Dispose (inherited from SymmetricAlgorithm)

See Also

RC4CryptoServiceProvider Class | Org.Mentalis.Security.Cryptography Namespace