parameters `d``P`procedureGiven elliptic curve

`parameters`, a shared secret generator is created that computes a shared secret given the secret key`d`of the "sender" and the public key`P`of the recipient.The shared secret is a point on the elliptic curve.

For practical applications you should hash the returned point together with some strong random salt value to derive a key for symmetric encryption.