Validating diffie hellman public private keys


03-Jan-2019 15:18

Diffie-Hellman is a key agreement algorithm used by two parties to agree on a shared secret.

An algorithm for converting the shared secret into an arbitrary amount of keying material is provided.

Elliptic curve Diffie–Hellman (ECDH) is an anonymous 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.

This shared secret may be directly used as a key, or to derive another key.

The method includes obtaining the public key, and verifying, by the computing device, that the obtained public key is a point on an elliptic curve defined over a finite field, the... In key transport protocols a Correspondent A may inadvertently send its symmetric key to the wrong party.Update 2 (17th May, 2017): I’ve written some notes on correctly validating ECDH public keys.