Asymmetric cryptography
What are the two keys for in asymmetric cryptography?
To separate the lock from the key. A public key, known to everyone, encrypts a message; a private key, kept secret, alone can decrypt it. You can therefore receive secret messages without ever sharing your own secret.