⇤ ← Revision 1 as of 2010-02-07 21:32:49
Size: 789
Comment:
|
Size: 800
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
{ | {#!cplusplus |
Back to Cptr427Winter2010
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace IdesGradeable {#!cplusplus /// <summary> /// 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. /// </summary> interface IdesGradeable { ulong[] Encrypt(ulong[] data, ulong key); ulong[] Decrypt(ulong[] data, ulong key); ulong[] getRoundKeys(ulong key); } }