Skip to main content
. 2020 Sep 10;20(18):5162. doi: 10.3390/s20185162
Algorithm 1: Key Generation
  Receiver establishes Elliptic curve parameters: (Fp)={a,b,p,G};
  Choose a private key nB in the range: {1,p1};
  Find the public key: PB = nBG point multiplication over the curve;
  Publish the public key PB and the curve parameters (Fp)={a,b,p,G};
  Sender gets the public key of receiver PB along with associated curve parameters;
  Sender chooses a private key nA in the range: {1,p1};
  Sender computes his public key as PA=nAG;
  The shared secret key (SSK) as computed by the sender will be:
  (SSK)=nAPB=nAnBG=(x,y);