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