SecurityServices for .NET 2.0 Documentation

RC4 Members

RC4 overview

Public Static Methods

CreateOverloaded. Creates an instance of the default cryptographic object used to perform the RC4 transformation.

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 (inherited from SymmetricAlgorithm)Gets or sets the secret key for the symmetric algorithm.
KeySize (inherited from SymmetricAlgorithm)Gets or sets the size, in bits, of the secret key used by the symmetric algorithm.
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 class.
CreateDecryptor (inherited from SymmetricAlgorithm)Overloaded. Creates a symmetric decryptor object with the current Key property and initialization vector (IV).
CreateEncryptor (inherited from SymmetricAlgorithm)Overloaded. Creates a symmetric encryptor object with the current Key property 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. GetHashCode is 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 Constructors

RC4 Constructor Initializes a new instance of the RC4 class.

Protected Instance Fields

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

Protected Instance Properties

RngCsp Returns an RNGCryptoServiceProvider instance.

Protected Instance Methods

Dispose (inherited from SymmetricAlgorithm)Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources.
Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

RC4 Class | Org.Mentalis.SecurityServices.Cryptography Namespace