How to apply elliptic curve point multiplication using matlab code or command ?
이전 댓글 표시
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
Bruno Luong
2018년 10월 15일
편집: Bruno Luong
2018년 10월 15일
To perform multiplication (as elliptic curve group) you need to provide elliptic curve equation. Also are you doing some modulo arithmetic?
Maria Hameed
2018년 10월 16일
채택된 답변
추가 답변 (1개)
Bruno Luong
2018년 10월 16일
편집: Bruno Luong
2018년 10월 16일
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
Maria Hameed
2018년 10월 16일
Bruno Luong
2018년 10월 16일
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.
카테고리
도움말 센터 및 File Exchange에서 Descriptive Statistics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!