28 lines
658 B
C#
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();
|
|
}
|
|
}
|
|
}
|