0
$\begingroup$

I am working on a Golang code similar to Signal protocol. I need to modify it. I am confused on tripartite Diffie-Hellman handshake part of code, i.e. why public key has two separate parts as compared to private key which has only one part in bytes as shown below. I can more info if needed. Thanks.

enter image description here

$\endgroup$
  • 1
    $\begingroup$ Start with a primer on elliptic curve cryptography? $\endgroup$ – Squeamish Ossifrage Mar 24 at 22:24
  • 1
    $\begingroup$ And consider using Noise if you need to design a new protocol? $\endgroup$ – Squeamish Ossifrage Mar 24 at 22:24
  • $\begingroup$ Thanks a lot. A lecture on cryptography made me understood it. $\endgroup$ – Tahir Abbas Mar 24 at 23:20
0
$\begingroup$

The answer to this question is simple. In simple words, in elliptic curve cryptography public key is calculated through a elliptic curve on graph so it has two values i.e. one of x-axis and one of y-axis. This is the link which gives a good idea of it.

ECC with Diffie-Hellman

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.