pub fn point_mul(scalar: &Scalar, point: &Point) -> Result<Point>
Expand description
Derive ECDH shared secret.
Computes the shared secret for our private key scalar
and the other parties public key point
.
Results an error if scalr
and point
are not on the same curve.