Changeset 1157 for trunk/CrypPluginBase


Ignore:
Timestamp:
Feb 21, 2010, 3:11:18 AM (12 years ago)
Author:
Arno Wacker
Message:

AnotherEditor

  • Yet another Invoke during a single log message changed into BeginInvoke

IControlEncryption

  • Removed obsolete signature

CryptoolStream

  • Added a try-catch when deleting a file. An exception occurs when the file is locked. Clearly, in this case there not much one can do.. the file remains on the disk. Waiting for CStream...

AES, DES, SDES

  • Cleanup of IControl interface and general code cleanup
  • Fixed compatibility with KeySearcher - now all three should work again. (However, kind of slow)

StreamToStringConverter

  • Updated license

Sample update

  • KeySearcher-Sample-DES.cte, KeySearcher-Sample-DES.cte, KeySearcher-Sample-SDES.cte: Compatibility with IControl changes and slight rearrangement.
  • P2P-DES-BruteforceManger.cte, P2P-DES-BruteforceWorker.cte: Compatibility

New binaries

  • CrypWin.exe
  • AnotherEditor.dll
Location:
trunk/CrypPluginBase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPluginBase/Control/IControlEncryption.cs

    r1121 r1157  
    3131        IControlEncryption clone();
    3232        event KeyPatternChanged keyPatternChanged;
    33 
    34         [Obsolete("This signature doesn't pass the ciphertext, use Decrypt(byte[], byte[]) instead")]
    35         byte[] Decrypt(byte[] key, int blocksize);
    3633    }
    3734}
  • trunk/CrypPluginBase/IO/CryptoolStream.cs

    r1153 r1157  
    107107                if (deleteOnDispose)
    108108                {
    109                     File.Delete(fileName);
     109                    try
     110                    {
     111                        File.Delete(fileName);
     112                    }
     113                    catch (Exception)
     114                    {
     115                      //WA: Ignore ?? can't do anything since file is locked by other process and thus file remains.
     116                    }
    110117                }
    111118            }
Note: See TracChangeset for help on using the changeset viewer.