Back to Cptr427Winter2010 or DES

   1 using System;
   2 using System.Collections.Generic;
   3 using System.Linq;
   4 using System.Text;
   5 
   6 namespace IdesGradeable
   7 {
   8     /// <summary>
   9     /// I will use this interface to grade your assignment. The variable data
  10     /// will always contain 64-bit blocks of data to be encrypted or decrypted
  11     /// as directed. A single ulong key is given to use to decrypt or encrypt 
  12     /// the data. A list of round keys should be available for grading as well
  13     /// although I suspect you will need this particular function anyway. 
  14     /// </summary>
  15     interface IdesGradeable
  16     {
  17         ulong[] Encrypt(ulong[] data, ulong key);
  18         ulong[] Decrypt(ulong[] data, ulong key);
  19         ulong[] getRoundKeys(ulong key);
  20     }
  21 }

IdesGradeable (last edited 2011-01-18 19:45:01 by 71-88-174-166)