Cryptor/Form1.cs
2025-05-31 15:08:39 +08:00

28 lines
658 B
C#

namespace nexifylabs.Bcrypt
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void btnDecypt_Click(object sender, EventArgs e)
{
textBox2.Text = Encryption.DecryptString(textBox1.Text.Trim());
}
private void btnEncrypt_Click(object sender, EventArgs e)
{
textBox2.Text = Encryption.EncryptString(textBox1.Text.Trim());
}
private void btnClear_Click(object sender, EventArgs e)
{
textBox1.Clear();
textBox2.Clear();
}
}
}