Skip to content

pipMinder00/Elliptic_Curve_Operations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Elliptic_Curve_Operations

This code have been done for Applied Cryptography Course requirement In this program we aim to do all operation(Addition – Multiplication) over defined field Zp in which these field must be prime numbers in set of [11, 23, 37] (We might generalize later to accept any prime number).

Addition : this function aim to add two given point at curve

Brief steps explanation : (1) Check given field if in list or not, Note we can generalize it (check primality), but we follow specification (2) if P1 = P2 => then preform doubling formula (3) if x in given points are P1.x = P2.x then its align vertically and the point in infinity (4) otherwise preform addition formula

sample output

image

Multiplication : is constructed from addition.

Since the fact of the multiplication fact is if we have point name as P Then Q= 5.P = P + P + P + P + P, So simple loop will work fine!

sample output

image

Developed By : Aminah Abdullah

About

This code have been done for Applied Cryptography Course requirement

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages