Dodanie outputu pubKey i privKey
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
24ff03a1d7
commit
333866c53d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user