If encoding is specified, a string is returned; otherwise a Buffer is returned.
ECDH.getPrivateKey method | Node.js crypto module | Bun BuildDocsReferenceGuidesBlogDiscord/node:crypto/ECDH/getPrivateKeyMgetPrivateKey BuildDocsReferenceGuidesBlogDiscord /node:crypto/ECDH/getPrivateKeyMgetPrivateKey crypto.ECDH.getPrivateKeygetPrivateKey(): NonSharedBuffer; @returns getPrivateKey(encoding: BinaryToTextEncoding): string; @param encoding @returns Referenced typestype BinaryToTextEncoding = 'base64' | 'base64url' | 'hex' | 'binary'
Search the reference...
/
method
The EC Diffie-Hellman in the specified encoding.
If encoding is specified, a string is returned; otherwise a Buffer is returned.
The encoding of the return value.
The EC Diffie-Hellman in the specified encoding.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →ECDH.getPrivateKey method | Node.js crypto module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- API documentation for method node:crypto.ECDH.getPrivateKey | Bun