How to apply elliptic curve point multiplication using matlab code or command ?
Ältere Kommentare anzeigen
e.g I have elliptic curve points as [(0, 6) (6,14) (12, 3) (15, 4) (21,7) (0,25) (6,17) (12,28) (15,27) (21,24) (1,10) ( 7,13) (13,13) (16,5) (25,0) (1,21) ( 7,18) (13,18) (16,26) (3, 2) (11,13) (14, 2) (19,30) (3,29) (11,18) (14,29) (19, 1)] i want the result as first point is multiplied by 62 second point is multiplied by 63 and so on for all the points i.e [{62*(0,6) } {63*(6,14)} ......] note that this Multiplication should be elliptic curve point multiplication
2 Kommentare
Bruno Luong
am 15 Okt. 2018
Bearbeitet: Bruno Luong
am 15 Okt. 2018
To perform multiplication (as elliptic curve group) you need to provide elliptic curve equation. Also are you doing some modulo arithmetic?
Maria Hameed
am 16 Okt. 2018
Akzeptierte Antwort
Weitere Antworten (1)
Bruno Luong
am 16 Okt. 2018
Bearbeitet: Bruno Luong
am 16 Okt. 2018
Take a step back and see what tools you have under the hand.
If you want to multiply the point P in EC by a integer number n, you can starts by adding the point n times. The smarter way is is take a binary representation of N, and start with
Q = P, S = "0"
and double Q iteratively for i=0,1,...ceil(log2(n))-1
Q = Q+Q (2*Q)
and cummulative add Q to S if the bit #i of n is 1.
Now how you add numbers in EC? I hope you already have such routine as you are working on EC.
Note that the division must be performed in Zp, meaning using Euler division algorithm
2 Kommentare
Maria Hameed
am 16 Okt. 2018
Bruno Luong
am 16 Okt. 2018
I just outline you the steps. Feel free to tackle piece by piece and if you have question just ask. Each step is not difficult, just you have to make them correct and put them together.
There is little chance that I'll code the whole thing from scratch for you.
Kategorien
Mehr zu Descriptive Statistics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!