BuildDocsReferenceGuidesBlogDiscordnode:cryptoECDHMcomputeSecretMconvertKeyMgenerateKeysMgetPrivateKeyMgetPublicKeyMsetPrivateKeyBuildDocsReferenceGuidesBlogDiscordnode:cryptoECDHMcomputeSecretMconvertKeyMgenerateKeysMgetPrivateKeyMgetPublicKeyMsetPrivateKeycrypto.ECDHECDHcomputeSecretcomputeSecretBinaryToTextEncodingcomputeSecretBinaryToTextEncodingcomputeSecretBinaryToTextEncodingBinaryToTextEncodinggenerateKeysgenerateKeysBinaryToTextEncodingECDHKeyFormatgetPrivateKeygetPrivateKeyBinaryToTextEncodinggetPublicKeyECDHKeyFormatgetPublicKeyBinaryToTextEncodingECDHKeyFormatsetPrivateKeysetPrivateKeyBinaryToTextEncodingconvertKeyBinaryLikeBinaryToTextEncodingReferenceDocsGuidesDiscordMerch StoreGitHubBlogRuntimePackage managerTest runnerBundlerPackage runnerBun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseWe're hiring →
Node crypto.ECDH class | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- The `ECDH` class is a utility for creating Elliptic Curve Diffie-Hellman (ECDH)
key exchanges.
Instances of the `ECDH` class can be created using the createECDH function.
```js
import assert from