generateECDHKeyPair

fun generateECDHKeyPair(curve: ECDHCurve = ECDHCurve.P256): KeyPair

Generate an ECDH key pair.

Parameters

curve

The curve