ecdh library
library ecdh, Elliptic-curve Diffie–Hellman (ECDH) is a key agreement protocol that allows two parties, each having an elliptic-curve public–private key pair, to establish a shared secret over an insecure channel.
Functions
-
computeSecret(
PrivateKey selfPriv, PublicKey otherPub) → List< int> -
computeSecretHex(
PrivateKey selfPriv, PublicKey otherPub) → String