What is Public Key Cryptography
Public-key cryptography is a form of modern cryptography which permits users to communicate safely without lastly agreeing on a shared secret key
There are a number of important practical difficulties in this approach to distributing keys.
Public-key cryptography was invented to address these disadvantages - with public-key cryptography, users can converse with safety over an insecure channel without having to agree upon a key beforehand.