Changeset 717 for trunk/CrypPlugins/AES


Ignore:
Timestamp:
Oct 13, 2009, 1:09:46 PM (12 years ago)
Author:
Sven Rech
Message:

some KeySearcher changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/AES/AES.cs

    r705 r717  
    667667        #region IControlEncryption Members
    668668
    669         public byte[] Encrypt(byte[] key)
     669        public byte[] Encrypt(byte[] key, int blocksize)
    670670        {
    671671            ((AESSettings)plugin.Settings).Action = 0;
    672             return execute(key);
    673         }
    674 
    675         public byte[] Decrypt(byte[] key)
     672            return execute(key, blocksize);
     673        }
     674
     675        public byte[] Decrypt(byte[] key, int blocksize)
    676676        {
    677677            ((AESSettings)plugin.Settings).Action = 1;
    678             return execute(key);
     678            return execute(key, blocksize);
    679679        }
    680680
     
    724724        }
    725725
    726         private byte[] execute(byte[] key)
     726        private byte[] execute(byte[] key, int blocksize)
    727727        {
    728728            plugin.InputKey = key;
Note: See TracChangeset for help on using the changeset viewer.