Commit 108dc359 by adbaga

yes

parent 8237fd9c
...@@ -18,14 +18,14 @@ namespace CryptoAlgo ...@@ -18,14 +18,14 @@ namespace CryptoAlgo
do do
{ {
p = g.Next(512, 10000); p = g.Next(2, 100);
} while (!PrimeChecker(p)); } while (!PrimeChecker(p));
var h = new Random(); var h = new Random();
int q; int q;
do do
{ {
q = h.Next(512, 10000); q = h.Next(2, 100);
} while (!PrimeChecker(q)); } while (!PrimeChecker(q));
Console.WriteLine($"P value: {p}"); Console.WriteLine($"P value: {p}");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment