Skip to content

Commit

Permalink
Add color for button in RSA UserControl
Browse files Browse the repository at this point in the history
  • Loading branch information
k1enttt committed Dec 18, 2023
1 parent 9fcf88f commit f47f38d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ private int CheckForNumbersOrSpecialCharacters(string input)
}
}

static void Encrypt(ref char[] str, char[,] keyT, int ps)
static void Encrypt(ref char[] str, char[,] keyT, int ps)
{
int[] a = new int[4];

Expand Down
30 changes: 18 additions & 12 deletions playfair-and-rsa-encryption/UserControls/UserControlRsa.Designer.cs

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

2 changes: 1 addition & 1 deletion playfair-and-rsa-encryption/UserControls/UserControlRsa.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ bool IsPrime(int number)
return true;
}

// Tính UCLN
// Tính UCLN - sử dụng giải thuật Euclid
int CalculateGreatestCommonDivisor(int a, int b)
{
if (a == 0)
Expand Down

0 comments on commit f47f38d

Please sign in to comment.