Exemple #1
0
        private void btnEnkriptimi_Click(object sender, EventArgs e)
        {
            try
            {
                if (txtUnecrypted.Text == "")
                {
                    MessageBox.Show("Ju lutem shtypni tekstin qe doni ta enkriptoni");
                }
                else if (txtPassword.Text == "")
                {
                    MessageBox.Show("Ju lutem shtypni passwordin per enkriptim");
                }
                else
                {
                    string unencrypted = txtUnecrypted.Text;
                    string password    = txtPassword.Text;
                    txtEncrypted.Text = Encrypt(unencrypted, password);
                    MemoryStream ms = new MemoryStream(Encoding.UTF8.GetBytes(txtPassword.Text));
                }
            }
            catch (Exception eX)
            {
                MessageBox.Show(eX.Message);
            }
            CrackForma frmC = new CrackForma();

            frmC.formaKryesore = this;
        }
Exemple #2
0
        private void dESDictionaryAttackToolStripMenuItem_Click(object sender, EventArgs e)
        {
            CrackForma frmC = new CrackForma();

            frmC.ShowDialog();
            //this.Hide();
        }
Exemple #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            CrackForma frmC = new CrackForma();

            frmC.formaKryesore = this;
            frmC.Show();
            this.Hide();
        }