Click or drag to resize

RC2 Class

Encrypt and Decrypt using RC2 algorithm
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.Cryptography
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public class RC2 : CryptographyBase

The RC2 type exposes the following members.

Constructors
  NameDescription
Public methodRC2
Initializes a new instance of the RC2 class.
Top
Properties
  NameDescription
Public propertyCanDecrypt
Gets or sets a value indicating whether this instance can decrypt.
(Inherited from CryptographyBase.)
Public propertyHasIV
Gets or sets a value indicating whether this instance has an Initial Vector.
(Inherited from CryptographyBase.)
Public propertyHasKey
Gets or sets a value indicating whether this instance has key. Hash method does not have a key.
(Inherited from CryptographyBase.)
Public propertyHasOptions
Gets or sets a value indicating whether this instance has options including CipherMode and PaddingMode
(Inherited from CryptographyBase.)
Public propertyUseCertificate
Gets or sets a value indicating whether this algorithm need a certificate to do Encryption or Decryption (RSA algorithm for example).
(Inherited from CryptographyBase.)
Top
Methods
  NameDescription
Public methodDecrypt
Decrypts the specified key.
(Overrides CryptographyBaseDecrypt(Byte, Byte, X509Certificate2, Byte, CipherMode, PaddingMode).)
Public methodEncrypt
Encrypts the specified data by providing encryption key and other data.
(Overrides CryptographyBaseEncrypt(Byte, Byte, X509Certificate2, Byte, CipherMode, PaddingMode).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(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.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also