First experimental encryption implementation (not working)
This commit is contained in:
@@ -55,7 +55,20 @@ namespace SamaPager_Client
|
||||
|
||||
private void sendBtn_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
if(keyTxt.Text == string.Empty)
|
||||
{
|
||||
KryptonMessageBox.Show("Inserire una chiave");
|
||||
}
|
||||
else if (messageTxt.Text == string.Empty)
|
||||
{
|
||||
KryptonMessageBox.Show("Inserire un messaggio");
|
||||
}
|
||||
else
|
||||
{
|
||||
pageClient.SendEncryptedMessage(messageTxt.Text, keyTxt.Text);
|
||||
logLst.Items.Add($"Sent: {messageTxt.Text}");
|
||||
messageTxt.Text = String.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
private void sendWithoutEncryptionToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user