Skip to content
This repository was archived by the owner on Aug 20, 2024. It is now read-only.

Commit 048dc8e

Browse files
committed
Add manual key input
1 parent 23345bd commit 048dc8e

File tree

4 files changed

+23
-12
lines changed

4 files changed

+23
-12
lines changed

Configure/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
3333
// 方法是按如下所示使用“*”:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.1.0.5")]
36-
[assembly: AssemblyFileVersion("1.1.0.5")]
35+
[assembly: AssemblyVersion("1.1.0.6")]
36+
[assembly: AssemblyFileVersion("1.1.0.6")]

CryptionDebugger/Main.Designer.cs

Lines changed: 17 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CryptionDebugger/Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ public Main()
2020

2121
private void encryptButton_Click(object sender, EventArgs e)
2222
{
23-
cipherTextBox.Text = Crypt.Encrypt(sourceTextBox.Text);
23+
cipherTextBox.Text = Crypt.Encrypt(sourceTextBox.Text, keyBox.Text);
2424
}
2525

2626
private void decryptButton_Click(object sender, EventArgs e)
2727
{
28-
sourceTextBox.Text = Crypt.Decrypt(cipherTextBox.Text);
28+
sourceTextBox.Text = Crypt.Decrypt(cipherTextBox.Text, keyBox.Text);
2929
}
3030

3131
private void showRollingKeyFormButton_Click(object sender, EventArgs e)

CryptionDebugger/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
3333
// 方法是按如下所示使用“*”:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.1.0.8")]
36-
[assembly: AssemblyFileVersion("1.1.0.8")]
35+
[assembly: AssemblyVersion("1.1.1.1")]
36+
[assembly: AssemblyFileVersion("1.1.1.1")]

0 commit comments

Comments
 (0)