1
$\begingroup$

I know about ECDH when you need 2 pairs of public/private keys. But I wonder what is a simplest way to encrypt with just single public key?

  • Should I select a second random pair of public/private keys for each "boxing"?

or

  • I can have a pre-selected publicly known pair of public/"private" keys?

or

  • Is there other simpler way to encrypt data with Elliptic Curve encryption?
$\endgroup$
2
  • 3
    $\begingroup$ I recommend that you consider ECIES $\endgroup$
    – fgrieu
    Mar 25, 2022 at 13:39
  • $\begingroup$ Also dropping in a mention of ElGamal $\endgroup$ Mar 25, 2022 at 19:21

0

Browse other questions tagged or ask your own question.