Skip to main content

createECDH

function createECDH
Jump to headingcreateECDH(curveName: string): ECDH

Creates an Elliptic Curve Diffie-Hellman (ECDH) key exchange object using a predefined curve specified by the curveName string. Use getCurves to obtain a list of available curve names. On recent OpenSSL releases, openssl ecparam -list_curves will also display the name and description of each available elliptic curve.

Parameters Jump to heading

Jump to headingcurveName: string

Return Type Jump to heading

Back to top