diff --git a/KRY-0x01-ng.csproj b/KRY-0x01-ng.csproj
index 74a09e8..b7ccb57 100644
--- a/KRY-0x01-ng.csproj
+++ b/KRY-0x01-ng.csproj
@@ -33,6 +33,12 @@
4
+
+ packages\MMLib.Extensions.1.0.10.13\lib\MMLib.Core.dll
+
+
+ packages\MMLib.Extensions.1.0.10.13\lib\MMLib.Extensions.dll
+
@@ -66,6 +72,7 @@
True
Resources.resx
+
SettingsSingleFileGenerator
Settings.Designer.cs
diff --git a/main_form.cs b/main_form.cs
index 3136689..46c9332 100644
--- a/main_form.cs
+++ b/main_form.cs
@@ -36,6 +36,7 @@ namespace KRY_0x01_ng
string introduce_chaos(string str)
{
string nustr = Regex.Replace(str, " ", "SPACEBRO");
+ nustr = MMLib.Extensions.StringExtensions.RemoveDiacritics(nustr);
nustr = Regex.Replace(nustr, "W", "V");
nustr = Regex.Replace(nustr, ",", "COMMABRO");
return nustr.Replace(".", "DOTBRO");
@@ -88,8 +89,9 @@ namespace KRY_0x01_ng
MessageBox.Show("Empty key.", "Warning");
return false;
}
-
- string str_to_check = String.Join("", tb_k.Text.ToUpper().Distinct());
+
+ string str_to_check = MMLib.Extensions.StringExtensions.RemoveDiacritics(tb_k.Text.ToUpper());
+ str_to_check = String.Join("", str_to_check.Distinct());
if (str_to_check.Length < 9)
{
/* because why not, 8 is still lame */
@@ -165,6 +167,7 @@ namespace KRY_0x01_ng
return;
}
string msg = introduce_chaos(tb_m.Text.ToUpper());
+ msg = MMLib.Extensions.StringExtensions.RemoveDiacritics(msg);
Match match = Regex.Match(msg, @"\d|\s+");
if (match.Success)
{
@@ -183,6 +186,7 @@ namespace KRY_0x01_ng
return false;
}
string msg = tb_m.Text.ToUpper();
+ msg = MMLib.Extensions.StringExtensions.RemoveDiacritics(msg);
Match match = Regex.Match(msg, @"\d|\s+|W");
if (match.Success)
{
diff --git a/packages.config b/packages.config
new file mode 100644
index 0000000..8f2d5b3
--- /dev/null
+++ b/packages.config
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file