Exemple #1
0
 private void btnDecod_Click(object sender, EventArgs e)
 {
     string text = tbShText.Text;
     string keyword = tbKey.Text;
     AlbertyRu alb = new AlbertyRu(text, keyword, true);
     alb.Decoder();
     tbOpenText.Text = alb.OpenText;
 }
Exemple #2
0
 private void btnCod_Click(object sender, EventArgs e)
 {
     //шифрование
     string text = tbOpenText.Text;
     string keyword = tbKey.Text;
     AlbertyRu alb = new AlbertyRu(text, keyword, true);
     alb.Coder();
     tbShText.Text = alb.ShifrText;
 }