title: Elliptic Curve Cryptography on PHP and Android
body: <p>I need help in understanding Elliptic Curve Cryptography on php and android .. I have read about Spongy castle and Bouncy Castle... what I understood so far is that Each side needs to generate a pair of keys (public and private) and a shared secret key which they will use for the encryption and decryption.. am I right? or is there another key as well... i am a bit confused.. also I am unable to find anything for php ...any help is appreciated...</p>
  
  <p>I also know that ECDSA is only used to generate signatures and that ECDH is used for encryption/decryption of messages which is what I need..</p>