Ignore:
Timestamp:
Feb 26, 2010, 1:46:08 AM (12 years ago)
Author:
Sven Rech
Message:

added IV to the IControlEncryption interface

File:
1 edited

Legend:

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

    r1162 r1194  
    593593        /// <param name="bytesToUse">bytesToUse</param>
    594594        /// <returns>decrypted text</returns>
    595         public byte[] Decrypt(byte[] ciphertext, byte[] key, int bytesToUse)
     595        public byte[] Decrypt(byte[] ciphertext, byte[] key, byte[] IV, int bytesToUse)
    596596        {
    597597            return execute(ciphertext, key, bytesToUse, 1);
     
    604604        /// <param name="key">key</param>
    605605        /// <returns>decrypted text</returns>
    606         public byte[] Decrypt(byte[] ciphertext, byte[] key)
     606        public byte[] Decrypt(byte[] ciphertext, byte[] key, byte[] IV)
    607607        {
    608608            return execute(ciphertext, key, ciphertext.Length, 1);
     
    615615        /// <param name="bytesToUse">bytesToUse</param>
    616616        /// <returns>decrypted text</returns>
    617         public byte[] Decrypt(byte[] key, int bytesToUse)
     617        public byte[] Decrypt(byte[] key, byte[] IV, int bytesToUse)
    618618        {
    619619            return execute(key, bytesToUse, 1);
Note: See TracChangeset for help on using the changeset viewer.