Ignore:
Timestamp:
Feb 1, 2010, 10:57:33 PM (12 years ago)
Author:
kohnen
Message:
  • deleted setInput-function from IControlEncryption and all Plugins using IControlEncryption
  • some changes at TranspositionAnalyser plugin & Settings
  • new TranspositionAnalyser sample
File:
1 edited

Legend:

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

    r1087 r1121  
    11181118        #region IControlEncryption Member
    11191119
     1120        public void setInput(Object input)
     1121        {
     1122            throw new NotImplementedException();
     1123        }
     1124       
     1125        public byte[] Decrypt(byte[] key, int blocksize)
     1126        {
     1127            throw new NotImplementedException();
     1128        }
     1129
    11201130        public byte[] Decrypt(byte[] ciphertext, byte[] key)
    11211131        {
    1122             throw new NotImplementedException();
    1123         }
    1124 
    1125         public byte[] Decrypt(byte[] key, int blocksize)
    1126         {
     1132            if (plugin.Input == null)
     1133            {
     1134                plugin.Input = ciphertext;
     1135            }
     1136
    11271137            int[] k = new int[key.Length];
    11281138            for(int i=0; i<key.Length; i++)
     
    11531163        {
    11541164            return null;
    1155         }
    1156 
    1157         public void setInput(Object input)
    1158         {
    1159             plugin.Input = (byte[])input;
    11601165        }
    11611166
Note: See TracChangeset for help on using the changeset viewer.