Please see my comment to the question. First of all, you need to grasp some ideas, at least the level of the user of cryptography, which is not trivial at all, so, from time to time, we observe the inquirers on this forum who even actually use the technology but still have no clue on the use of it. Don't become one of them, try to understand the topic. Start here:
https://en.wikipedia.org/wiki/Public-key_cryptography[
^],
https://en.wikipedia.org/wiki/Cryptography[
^].
Pay attention for what Alice and Bob do and why.
—SA