3
$\begingroup$

Can anyone decrypt ciphertext using a public key? I always thought we can only decrypt using a private key. In that case, what does this line in the RLPx documentation mean?

Receiver receives the initiator handshake and decrypts it with its own public key.

Is the author talking about verifying signatures?

$\endgroup$

migrated from stackoverflow.com Apr 27 '18 at 4:14

This question came from our site for professional and enthusiast programmers.

4
$\begingroup$

That's actually a typo, you'd use your private key, not your public key, to establish the secret used for ECIES. File a bug report on the documentation!

$\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.