After World War II, people realized that sharing secret keys was the most difficult thing to do. As a result, the notion of public key cryptography was developed in the late 1970s at MIT and Stanford Universities, basically to be able to share keys secretly at a lower cost. Since then, the industry of cryptography has blossomed.