Exemple #1
0
 private void btn_decrypt_Click(object sender, EventArgs e)
 {
     CryptoStuff.DecryptFile(txt_pass.Text, txt_url_encrypt.Text, txt_url_decrypt.Text);
     txtDecipheredFile.Text = File.ReadAllText(txt_url_decrypt.Text);
 }
Exemple #2
0
 private void btn_encrypt_Click(object sender, EventArgs e)
 {
     CryptoStuff.EncryptFile(txt_pass.Text, txt_url.Text, txt_url_encrypt.Text);
     txtCiphertextFile.Text = File.ReadAllBytes(txt_url_encrypt.Text).ToHex(' ');
 }