CSharp_ClassLib.Cryptography.XOR Class Reference

XOR encryption class. More...

List of all members.

Public Member Functions

 XOR ()
 Class constructor that inits all nesessary stuff.
 XOR (byte[] expression, byte[] key)
 Class constructor that inits all nesessary stuff.

Properties

string KeyString
 Returns or sets the key.
string ExpressionString
 Returns or sets the expression.
string ExpressionHex
 Returns or sets the expression.
string ExpressionEncryptedHex
 Returns or sets the encrypted expression.


Detailed Description

XOR encryption class.

Class that contains routines to handle XOR encryption

Author:
generalpd
Version:
Revision
1.1
Date:
2005-04-18

Bug:
none

Todo:
none
Remarks:
Last changed by:
Author
generalpd
in revision
Revision
1.1
on
Date
2005/05/03 12:59:55
Note:
Log
clsXOREncryption.cs,v
Revision 1.1 2005/05/03 12:59:55 generalpd first import

Definition at line 49 of file clsXOREncryption.cs.


Constructor & Destructor Documentation

CSharp_ClassLib::Cryptography.XOR::XOR  ) 
 

Class constructor that inits all nesessary stuff.

  // Code example
 
  CSharp_ClassLib.Cryptography.XOR m_oXOR = new CSharp_ClassLib.Cryptography.XOR();

Definition at line 70 of file clsXOREncryption.cs.

CSharp_ClassLib::Cryptography.XOR::XOR byte[]  expression,
byte[]  key
 

Class constructor that inits all nesessary stuff.

Parameters:
expression The expression
key The key
  // Code example
 
  bExpression = m_oAscii.GetBytes("I hate windows!");
  bKey = m_oAscii.GetBytes("But I love .NET :D!");
 
  CSharp_ClassLib.Cryptography.XOR m_oXOR = new CSharp_ClassLib.Cryptography.XOR(bExpression, bKey);

Definition at line 98 of file clsXOREncryption.cs.


Property Documentation

string CSharp_ClassLib::Cryptography.XOR::ExpressionEncryptedHex [get, set]
 

Returns or sets the encrypted expression.

Parameters:
value The new (encrypted) expression
Returns:
The encrypted expression
  // Code example
 
  m_oXOR.ExpressionEncryptedHex = "0123456789abcdef";
  Console.WriteLine("The encrypted expression is: " + m_oASCII.GetString(m_oXOR.ExpressionEncryptedHex));

Definition at line 309 of file clsXOREncryption.cs.

string CSharp_ClassLib::Cryptography.XOR::ExpressionHex [get, set]
 

Returns or sets the expression.

Parameters:
value The new expression
Returns:
The expression
  // Code example
 
  m_oXOR.ExpressionHex = "0123456789ABCDEF";
  Console.WriteLine("The expression is: " + m_oXOR.ExpressionHex);

Definition at line 263 of file clsXOREncryption.cs.

string CSharp_ClassLib::Cryptography.XOR::ExpressionString [get, set]
 

Returns or sets the expression.

Parameters:
value The new expression
Returns:
The expression
  // Code example
 
  m_oXOR.ExpressionString = "This is an expression.";
  Console.WriteLine("The expression is: " + m_oXOR.ExpressionString);

Definition at line 240 of file clsXOREncryption.cs.

string CSharp_ClassLib::Cryptography.XOR::KeyString [get, set]
 

Returns or sets the key.

Parameters:
value The new key
Returns:
The key
  // Code example
 
  m_oXOR.KeyString = "This is a key!";
  Console.WriteLine("The key is: " + m_oXOR.KeyString);

Definition at line 171 of file clsXOREncryption.cs.


The documentation for this class was generated from the following file:
Generated on Thu Jun 2 08:41:50 2005 for C# ClassLib by  doxygen 1.4.1