title: Cryptography with ECC : make a multiplication of two keys with elliptic curve in javascript
body: <p>so i m trying to convert two strings to points on elliptic curve then multiply the points and get another point . </p>
  
  <p>Until now , i managed to convert a string to a point on the elliptic curve with this library 
  <a href="https://www.npmjs.com/package/elliptic-curve" rel="nofollow noreferrer">https://www.npmjs.com/package/elliptic-curve</a></p>
  
  <p>this library uses a point P on the elliptic curve and multiplied with a scalar k using elliptic curve equation to obtain another point Q on the same elliptic curve.</p>
  
  <pre><code>K: string (public key) 
  P:a point that exists already on the elliptic curve (randomly)
  Q: the result point 
  kP=Q
  </code></pre>
  
  <p>i ve tried to change the <code>P</code> value and replace it with a point  that i already calculate but i can t find a way to do that ! </p>
  
  <p>is there any way that i can make the multiplication using the same library ? 
  (JAVASCRIPT)</p>
  
  <p>RECAP : 
  i'm trying to make this multiplication </p>
  
  <pre><code>k1:public key 
  P:point already exists on EC
  Q1=K1.P
  
  k2:public key 
  P:point already exists on EC
  Q2=K2.P
  
  **Q3:the wanted the result 
  Q3=Q2.Q1**
  </code></pre>
  
  <p>thanks :D</p>