Pike v8.1 release 6

Method Nettle.Curve25519()->point_mul()


Method point_mul

string(8bit) point_mul(string(8bit) x, string(8bit) scalar)

Description

Multiply a point on the curve by a scalar.

A typical use is for Elliptic Curve Diffie Hellman (ECDH) key exchange.

Returns

Returns the new point on the curve.