Esempio n. 1
0
 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.");
 }
Esempio n. 2
0
 private void AddUser_Load(object sender, EventArgs e)
 {
     db = new UserDB();
     crypter = new En_De_cryption();
     key = new Key();
 }