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

Commit

Permalink
Add manual key input
Browse files Browse the repository at this point in the history
  • Loading branch information
xfoxfu committed Jun 13, 2015
1 parent 23345bd commit 048dc8e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Configure/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.5")]
[assembly: AssemblyFileVersion("1.1.0.5")]
[assembly: AssemblyVersion("1.1.0.6")]
[assembly: AssemblyFileVersion("1.1.0.6")]
23 changes: 17 additions & 6 deletions CryptionDebugger/Main.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions CryptionDebugger/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ public Main()

private void encryptButton_Click(object sender, EventArgs e)
{
cipherTextBox.Text = Crypt.Encrypt(sourceTextBox.Text);
cipherTextBox.Text = Crypt.Encrypt(sourceTextBox.Text, keyBox.Text);
}

private void decryptButton_Click(object sender, EventArgs e)
{
sourceTextBox.Text = Crypt.Decrypt(cipherTextBox.Text);
sourceTextBox.Text = Crypt.Decrypt(cipherTextBox.Text, keyBox.Text);
}

private void showRollingKeyFormButton_Click(object sender, EventArgs e)
Expand Down
4 changes: 2 additions & 2 deletions CryptionDebugger/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.0.8")]
[assembly: AssemblyFileVersion("1.1.0.8")]
[assembly: AssemblyVersion("1.1.1.1")]
[assembly: AssemblyFileVersion("1.1.1.1")]

0 comments on commit 048dc8e

Please sign in to comment.