First experimental encryption implementation (not working)

This commit is contained in:
2025-10-15 08:39:46 +02:00
parent e4e8fa9c25
commit 19a5a08f04
7 changed files with 511 additions and 1314 deletions

View File

@@ -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)