Public-key cryptography employs a key pair: a public key for encryption and a private key for decryption. Algorithms like RSA are used. This method boosts security by keeping encryption and decryption keys separate.