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. | |
Class that contains routines to handle XOR encryption
Definition at line 49 of file clsXOREncryption.cs.
|
|
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. |
|
||||||||||||
|
Class constructor that inits all nesessary stuff.
// 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. |
|
|
Returns or sets 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. |
|
|
Returns or sets the expression.
// Code example m_oXOR.ExpressionHex = "0123456789ABCDEF"; Console.WriteLine("The expression is: " + m_oXOR.ExpressionHex); Definition at line 263 of file clsXOREncryption.cs. |
|
|
Returns or sets 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. |
|
|
Returns or sets 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. |
1.4.1