OK so I have listened to a number of lectures on asymmetric encryption but there is one thing thats never been clarified to me
So in your example Bob is receiving a message from “sender”. To my understanding Bob gives his public key to the sender. The sender uses that public key to encrypt the data being sent to Bob. Bob then uses his private key to decrypt the data he receives.
So now for my question.
Lets say that Bob and the other person are both sending and receiving encrypted information.
Do Bob and the other person both use a separate instance of the same encryption type?
For example, Bob has his own private key, the other person also has his own private key. Bob and the other person both have unique public keys that were created and paired with each of their own private keys. Bob and the other person then exchange public keys. Bob uses the other persons public key to enrcypt information that he is sending, and the other person uses his private key to decrypt Bobs data. And at the same time the other person is using Bobs public key to encrypt data being sent to Bob. Bob then uses his own private key to decrypt the data that he gets from the other person.
if this is true I find it a little misleading that asymmetric encryption uses two keys. Its more like 2 x 2 keys.
Anyway I am really liking your lessons so far. Sorry for the very long wordy question.