Zmiana obliczania ord oraz dodanie funkcju mysqrt do duzych liczb

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
2021-01-01 23:03:03 +01:00
parent 0caad16b83
commit ec4a4773cc
3 changed files with 88 additions and 54 deletions

View File

@ -11,7 +11,7 @@
load '../module.rb'
def main
k = 2048
k = 300
m = 73
n = m + SecureRandom.random_number(0..1000000)
u = SecureRandom.random_number(30..50)