Dodanie outputu pubKey i privKey

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-12-30 21:09:43 +01:00
parent 24ff03a1d7
commit 333866c53d
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -20,6 +20,10 @@ def main
pubKey = [a,b,p,px,py,qx,qy] pubKey = [a,b,p,px,py,qx,qy]
privKey = [a,b,p,px,py,qx,qy,x] privKey = [a,b,p,px,py,qx,qy,x]
puts "Klucz pub: #{pubKey.inspect}"
puts "Klucz priv: #{privKey.inspect}"
puts ""
pm = szyfrowanieElGamala(m,n,u,a,b,p,px,py,qx,qy) pm = szyfrowanieElGamala(m,n,u,a,b,p,px,py,qx,qy)
# BOB # BOB