Use it when configuring, checking or troubleshooting Asymmetric Encryption in Cryptography.
Asymmetric Encryption
Asymmetric Encryption uses a public/private key pair so data encrypted for a recipient's public key can be decrypted with the corresponding private key, usually inside a hybrid scheme rather than for bulk data.
1. Asymmetric: public key encrypts/verifies, private key decrypts/signs.
2. Slow — used for key exchange and signatures.
3. RSA-OAEP for encryption; ECDH for key agreement.
4. Protect private keys.
5. Hybrid encryption in practice.
public key encrypts session key → private key decrypts
Context & applicabilityCommon mistakes · platform/version boundaries
Successful asymmetric decryption shows use of the matching private key under the scheme, but it does not show the public key belonged to the intended recipient or the payload was authentic.
Suspicious evidence: unvalidated public key, raw RSA, obsolete padding, private key export, direct bulk encryption, algorithm confusion, decrypt oracle or ciphertext without key-version metadata.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
trusted recipient public key → encapsulation/encryption of data key → symmetric protected payload → private-key decapsulation → authenticated payload decryption
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Public key ≠ trusted recipient identity.
- Asymmetric encryption ≠ digital signature.
- Private key possession ≠ authorization to decrypt every object.
- RSA/ECC label ≠ safe padding, parameters or protocol.
openssl pkeyutl -encrypt -pubin -inkey pub.pem -in small.txt -out out.bin— encrypt small dataopenssl genpkey -algorithm X25519 -out key.pem— ECC key- Use for key exchange/wrapping, not bulk — design
ReferenceWhat it is1 section · depth on demand
Algorithms and uses
| Algorithm | Use | Key size for ~128-bit security |
|---|---|---|
| RSA | Encryption, signatures | 3072 bits |
| ECC (P-256, X25519, Ed25519) | Key exchange, signatures | 256 bits |
| ML-KEM (Kyber) | Post-quantum key encapsulation | ML-KEM-768 |
Asymmetric encryption is slow, so it is used to exchange or wrap a symmetric key (hybrid encryption), not to encrypt bulk data. RSA encryption must use OAEP padding, never PKCS#1 v1.5 for new designs.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Successful asymmetric decryption shows use of the matching private key under the scheme, but it does not show the public key belonged to the intended recipient or the payload was authentic.
In depth
Asymmetric encryption uses a key pair: data encrypted with the public key can only be decrypted with the private key. It allows secure communication without a pre-shared secret and enables digital signatures.
In practice asymmetric encryption of bulk data is rare because it is slow and limited in size; instead it is used to:
| Purpose | Example |
|---|---|
| Key exchange | ECDHE in TLS 1.3 |
| Key wrapping | Encrypting a symmetric file key with a recipient's public key (S/MIME, age, PGP) |
| Signatures | Certificates, code signing |
This hybrid approach — asymmetric to establish or protect a symmetric key, symmetric for the data — is how almost every secure protocol works.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Cryptography → Asymmetric Encryption. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://csrc.nist.gov/pubs/fips/197/final · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Cryptography → Asymmetric Encryption proof map
Fast scope, effective cryptographic state, verification and closure boundaries for Cryptography → Asymmetric Encryption.
| Boundary | Establish | Does not establish |
|---|---|---|
| Scope and intent | Asset/data/peer, security property, identity/name, protocol and time | Does not prove algorithm, key, trust or endpoint correctness |
| Effective cryptographic state | Exact version, algorithm/mode/parameters, key/certificate/path and negotiated result | Configuration or object presence does not prove correct use |
| Verification outcome | Positive, negative, tamper, expiry/revoke and failure tests correlated with evidence | One success does not prove every peer, client, path or lifecycle stage |
| Closure | Original operation succeeds; old/unsafe state is retired and regression checks pass | Administrative workflow completion alone is not closure |