Cybersecurity

public-key cryptography

encryption that lets strangers agree a secret and prove who they are

Public-key cryptography uses a pair of keys: one shared openly, one kept private. It lets two systems that have never met agree a secret over the internet, and lets anyone check a digital signature. Websites, VPNs, logins and software updates rely on it. Common examples are RSA and elliptic-curve methods, which a large quantum computer could break.

Think of it as

A letterbox anyone can post into, but only the owner can open.