Beispiel #1
0
        public byte[] Decrypt(byte[] ciphertext, byte[] key)
        {
            //if (plugin.InputToCharacterArray != ciphertext)
            //{
            //    plugin.InputToCharacterArray = ciphertext;
            //}

            int[] k = new int[key.Length];
            for (int i = 0; i < key.Length; i++)
            {
                k[i] = key[i];
            }

            //plugin.Transposition_LogMessage("hier decrypt von control: " + k[0] + " / " +plugin.Input[0], NotificationLevel.Debug);
            return(plugin.byteDecrypt(ciphertext, k));
        }