Asymmetric Encryption
Subject: Computer and Technology noun /ˌeɪ.sɪˈmɛt.rɪk ɪnˈkrɪp.ʃən/ 1 definition
- public-key-cryptography
- information-security
- network-security
- data-encryption
-
Definition (noun)
Entry #24 · UpdatedAsymmetric Encryption (also called public-key cryptography) is a cryptographic technique that uses a mathematically linked pair of keys—a freely shareable public key and a confidential private key—to secure digital communications. Unlike symmetric encryption, which uses a single shared secret for both locking and unlocking data, asymmetric encryption ensures that data encrypted with a public key can only be decrypted by its matching private key, while making it computationally infeasible to derive the private key from the public one. Because parties do not need to pre-share secrets over untrusted networks, it underpins secure key exchange, confidential messaging, and digital signatures, though its higher computational cost means it is typically paired with symmetric ciphers for bulk data transfer.
Common Types
RSA (Rivest-Shamir-Adleman): Bases its security on the difficulty of factoring the product of two large prime numbers; widely used for encrypting small payloads such as symmetric session keys and validating digital certificates.
Elliptic Curve Cryptography (ECC): Uses the algebraic structure of elliptic curves over finite fields—such as in ECIES encryption or ECDH key agreement—to match RSA security levels with significantly smaller keys and lower processing overhead.
ElGamal Encryption: Relies on the hardness of the discrete logarithm problem in cyclic groups, incorporating per-message randomness so that encrypting identical plaintexts produces distinct ciphertexts.
Post-Quantum Lattice-Based Encryption: Employs hard geometric lattice problems—exemplified by the standardized ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism)—to protect key establishment against future quantum computing attacks.
Example
When a developer needs to send a production API credential to a teammate over Slack, they encrypt the secret using the teammate's published RSA-4096 public key via PGP. Even if an unauthorized party intercepts the ciphertext in transit, only the teammate's machine—holding the corresponding private key—can decrypt and read the credential.