Updated
Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
parent
891a862eb8
commit
56ba08a7af
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
*.mpv
|
||||
*.mkv
|
||||
*.mp4
|
||||
*.jpg
|
@ -83,7 +83,7 @@ end
|
||||
|
||||
def sumaPunktow(a,b,p,x1,y1,x2,y2)
|
||||
# P + Q = R
|
||||
if (x1 != x2) && (y1 != y2)
|
||||
if (x1 != x2)
|
||||
lambda = (((y2 - y1) % p) * reciprocal_Phi_p((x2 - x1),p)) % p
|
||||
x3 = (betterExponentiation(lambda,2,p) - (x1 % p) - (x2 % p)) % p
|
||||
y3 = (lambda * (x1 - x3) - y1) % p
|
||||
|
BIN
8-lab/lab4_kryptoalgo.pdf
Normal file
BIN
8-lab/lab4_kryptoalgo.pdf
Normal file
Binary file not shown.
1
module2.rb
Symbolic link
1
module2.rb
Symbolic link
@ -0,0 +1 @@
|
||||
6/krzywa.rb
|
Loading…
Reference in New Issue
Block a user