Back to Cptr427Winter2010 or [[DES]] {{{#!cplusplus using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IdesGradeable { /// /// I will use this interface to grade your assignment. The variable data /// will always contain 64-bit blocks of data to be encrypted or decrypted /// as directed. A single ulong key is given to use to decrypt or encrypt /// the data. A list of round keys should be available for grading as well /// although I suspect you will need this particular function anyway. /// interface IdesGradeable { ulong[] Encrypt(ulong[] data, ulong key); ulong[] Decrypt(ulong[] data, ulong key); ulong[] getRoundKeys(ulong key); } } }}}