示例#1
0
文件: UnitTest1.cs 项目: djvorr/SSE
 public void EncryptDecrypt()
 {
     En_De_cryption crypter = new En_De_cryption();
     Assert.AreEqual(crypter.DecryptString(crypter.EncryptString("hello world", "Kentucky"), "Kentucky"), "hello world", "Encrytption/Decryption Not Working.");
 }
示例#2
0
文件: AddUser.cs 项目: djvorr/SSE
 private void AddUser_Load(object sender, EventArgs e)
 {
     db = new UserDB();
     crypter = new En_De_cryption();
     key = new Key();
 }