Can anyone decrypts cipher-text using Public Key? as I know we can only decrypt using private key, but in this RLPx documentation what this line means?

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

are they talking about verifying signatures?

  • To me, the entire paragraph that you referenced makes no sense. Apr 26, 2018 at 10:41

1 Answer 1


It appears to be an error. The decryption is with the node's own private key. See the code here (which calls the actual decryption here), quoting the comment 4 lines above:

// prv is the local client's private key.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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