# sage code for Elliptic curve scalar multiplication

How to find Q=KP when point P is given and integer k is given for elliptic curve.

add a comment

sage code for Elliptic curve scalar multiplication

How to find Q=KP when point P is given and integer k is given for elliptic curve.

add a comment

0

2

Just do the multiplication:

```
sage: E = EllipticCurve(GF(144169),j=1728)
sage: P = E.random_element()
sage: P
(54486 : 126410 : 1)
sage: 3*P
(116984 : 134312 : 1)
sage: 3*P - P - P - P
(0 : 1 : 0)
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2016-12-14 05:53:20 +0100 **

Seen: **207 times**

Last updated: **Dec 14 '16**

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.