RC2 Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the base class from which all implementations of the RC2 algorithm must derive.
public ref class RC2 abstract : System::Security::Cryptography::SymmetricAlgorithm
[System.Runtime.Versioning.UnsupportedOSPlatform("browser")]
public abstract class RC2 : System.Security.Cryptography.SymmetricAlgorithm
public abstract class RC2 : System.Security.Cryptography.SymmetricAlgorithm
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class RC2 : System.Security.Cryptography.SymmetricAlgorithm
[<System.Runtime.Versioning.UnsupportedOSPlatform("browser")>]
type RC2 = class
inherit SymmetricAlgorithm
type RC2 = class
inherit SymmetricAlgorithm
[<System.Runtime.InteropServices.ComVisible(true)>]
type RC2 = class
inherit SymmetricAlgorithm
Public MustInherit Class RC2
Inherits SymmetricAlgorithm
- Inheritance
- Derived
- Attributes
Notitie
A newer symmetric encryption algorithm, Advanced Encryption Standard (AES), is available. Consider using the Aes algorithm and its derived classes instead of the RC2 class. Use RC2 only for compatibility with legacy applications and data.
Block |
Represents the block size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm) |
Effective |
Represents the effective size of the secret key used by the RC2 algorithm in bits. |
Feedback |
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) |
Key |
Represents the size, in bits, of the secret key used by the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Key |
Represents the secret key for the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Legal |
Specifies the block sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Legal |
Specifies the key sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Mode |
Represents the cipher mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Padding |
Represents the padding mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Block |
Gets or sets the block size, in bits, of the cryptographic operation. (Inherited from SymmetricAlgorithm) |
Effective |
Gets or sets the effective size of the secret key used by the RC2 algorithm in bits. |
Feedback |
Gets or sets the feedback size, in bits, of the cryptographic operation for the Cipher Feedback (CFB) and Output Feedback (OFB) cipher modes. (Inherited from SymmetricAlgorithm) |
IV |
Gets or sets the initialization vector (IV) for the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Key |
Gets or sets the secret key for the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Key |
Gets or sets the size of the secret key used by the RC2 algorithm in bits. |
Legal |
Gets the block sizes, in bits, that are supported by the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Legal |
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. (Inherited from SymmetricAlgorithm) |
Padding |
Gets or sets the padding mode used in the symmetric algorithm. (Inherited from SymmetricAlgorithm) |
Clear() |
Releases all resources used by the SymmetricAlgorithm class. (Inherited from SymmetricAlgorithm) |
Create() |
Creates an instance of a cryptographic object to perform the RC2 algorithm. |
Create(String) |
Obsolete.
Creates an instance of a cryptographic object to perform the specified implementation of the RC2 algorithm. |
Create |
Creates a symmetric decryptor object with the current Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm) |
Create |
When overridden in a derived class, creates a symmetric decryptor object with the specified Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm) |
Create |
Creates a symmetric encryptor object with the current Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm) |
Create |
When overridden in a derived class, creates a symmetric encryptor object with the specified Key property and initialization vector (IV). (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data into the specified buffer, using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data into the specified buffer, using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Decrypt |
Decrypts data into the specified buffer, using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
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 SymmetricAlgorithm and optionally releases the managed resources. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data into the specified buffer, using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data into the specified buffer, using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Encrypt |
Encrypts data into the specified buffer, using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GenerateIV() |
When overridden in a derived class, generates a random initialization vector (IV) to use for the algorithm. (Inherited from SymmetricAlgorithm) |
Generate |
When overridden in a derived class, generates a random key (Key) to use for the algorithm. (Inherited from SymmetricAlgorithm) |
Get |
Gets the length of a ciphertext with a given padding mode and plaintext length in CBC mode. (Inherited from SymmetricAlgorithm) |
Get |
Gets the length of a ciphertext with a given padding mode and plaintext length in CFB mode. (Inherited from SymmetricAlgorithm) |
Get |
Gets the length of a ciphertext with a given padding mode and plaintext length in ECB mode. (Inherited from SymmetricAlgorithm) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
To |
Returns a string that represents the current object. (Inherited from Object) |
Try |
Attempts to decrypt data into the specified buffer, using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Try |
When overridden in a derived class, attempts to decrypt data into the specified buffer, using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Try |
Attempts to decrypt data into the specified buffer, using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Try |
When overridden in a derived class, attempts to decrypt data into the specified buffer, using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Try |
Attempts to decrypt data into the specified buffer, using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Try |
When overridden in a derived class, attempts to decrypt data into the specified buffer, using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Try |
Attempts to encrypt data into the specified buffer, using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Try |
When overridden in a derived class, attempts to encrypt data into the specified buffer, using CBC mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Try |
Attempts to encrypt data into the specified buffer, using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Try |
When overridden in a derived class, attempts to encrypt data into the specified buffer, using CFB mode with the specified padding mode and feedback size. (Inherited from SymmetricAlgorithm) |
Try |
Attempts to encrypt data into the specified buffer, using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Try |
When overridden in a derived class, attempts to encrypt data into the specified buffer, using ECB mode with the specified padding mode. (Inherited from SymmetricAlgorithm) |
Valid |
Determines whether the specified key size is valid for the current algorithm. (Inherited from SymmetricAlgorithm) |
IDisposable. |
This API supports the product infrastructure and is not intended to be used directly from your code. Releases the unmanaged resources used by the SymmetricAlgorithm and optionally releases the managed resources. (Inherited from SymmetricAlgorithm) |
Product | Versies |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET-feedback
.NET is een open source project. Selecteer een koppeling om feedback te geven: