-
Hi, I know it is doable with RSA, but RSA has performance issues and pgp seems to handle this much faster. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey 👋 |
Beta Was this translation helpful? Give feedback.
Hey 👋
Asymmetric encryption is always done using the public key, and decryption is always done using the private key.
However, you can generate two key pairs, one for A, and one for B, and give A.private to A, B.private to B, A.public to B, and B.public to A.
Then, A can encrypt with B.public, and B can decrypt with B.private.
And, B can encrypt with A.public, and A can decrypt with A.private.