[Adapdev-commits] Adapdev/src/Adapdev.Tests/Cryptography CryptoTest.cs,1.1.1.1,1.2
Status: Beta
Brought to you by:
intesar66
From: Sean M. <int...@us...> - 2005-06-02 03:26:11
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.Tests/Cryptography In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28755/src/Adapdev.Tests/Cryptography Modified Files: CryptoTest.cs Log Message: Updated OracleSelectQuery to properly handle SetLimit Updated CrypoTests to pass Modified SmartTreeView to track state of nodes across reloads Small modifications to the caching block Index: CryptoTest.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.Tests/Cryptography/CryptoTest.cs,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** CryptoTest.cs 28 Feb 2005 01:32:17 -0000 1.1.1.1 --- CryptoTest.cs 2 Jun 2005 03:26:00 -0000 1.2 *************** *** 66,70 **** byte[] cipherText = Crypto.Encrypt(this._text, key, vector, algorithm); // Display it ! Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Decrypt string plainText = Crypto.Decrypt(cipherText, key, vector, algorithm); --- 66,70 ---- byte[] cipherText = Crypto.Encrypt(this._text, key, vector, algorithm); // Display it ! //Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Decrypt string plainText = Crypto.Decrypt(cipherText, key, vector, algorithm); *************** *** 83,87 **** byte[] cipherText = Crypto.Encrypt(this._text, algorithm); // Display it ! Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Get the decrypted value using the built in key and vector string plainText = Crypto.Decrypt(cipherText, algorithm); --- 83,87 ---- byte[] cipherText = Crypto.Encrypt(this._text, algorithm); // Display it ! //Console.WriteLine("Encrypted: " + Encoding.ASCII.GetString(cipherText)); // Get the decrypted value using the built in key and vector string plainText = Crypto.Decrypt(cipherText, algorithm); |