Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-11-10 13:49:28 +01:00
parent c9a960a36f
commit 7c64f509d9
Signed by: y0rune
GPG Key ID: F204C385F57EB348
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ def primalityTest(n)
return true
end
counter = 1000
counter = 10000
#counter = SecureRandom.random_number(3..n)
while (counter != 0) do
b = SecureRandom.random_number(2..n-2) # Tez dziala n-1