Commit b4f8537c authored by Tobias Nießen's avatar Tobias Nießen
Browse files

crypto: add crypto.diffieHellman

Currently, Node.js has separate (stateful) APIs for DH/ECDH, and no
support for ECDH-ES. This commit adds a single stateless function to
compute the DH/ECDH/ECDH-ES secret based on two KeyObjects.

PR-URL: https://github.com/nodejs/node/pull/31178


Reviewed-By: default avatarSam Roberts <vieuxtech@gmail.com>
parent c6f8ea8d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment