Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Asymmetric Cryptography

Direct answer

Asymmetric cryptography uses a key pair — a public key anyone may have and a private key kept secret — for encryption, key exchange and digital signatures. RSA and elliptic-curve algorithms are the common families.

When to use this

Use this when choosing or troubleshooting public-key algorithms for TLS, SSH, signing or key exchange.

First 30 seconds

1. Asymmetric crypto: RSA, ECC (ECDSA, EdDSA, ECDH).

2. Used for signatures, key exchange, certificates.

3. RSA ≥ 2048 (3072 for long-term), ECC P-256/Ed25519.

4. Protect private keys.

5. Plan post-quantum (ML-KEM, ML-DSA).

Operational verification

key pair → sign/verify or key agreement

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • RSA with PKCS#1 v1.5 encryption padding (Bleichenbacher attacks) — use OAEP.
  • RSA keys below 2048 bits.
  • Reusing the same key for signing and encryption.
  • Ignoring the post-quantum migration for data that must stay secret for 10+ years ("harvest now, decrypt later").
Platform / version applicability
Cryptography, PKI and secrets
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformCryptography, PKI and secrets
Scope / prerequisiteUse this when choosing or troubleshooting public-key algorithms for TLS, SSH, signing or key exchange.
What next?2 suggested next steps
Child topics (this level)9
Evidence1
On this pageJump to a specific section
Evidence references

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.

observation · 1
Drill down

Subtopics

Go one level deeper into this subject.

Key points
  • The private key must never leave its owner.
  • RSA needs at least 2048 bits; ECC gives the same strength with shorter keys.
  • Asymmetric crypto is slow, so it usually protects a symmetric session key.
Key checks
  • openssl genpkey -algorithm ED25519 -out key.pem — generate key
  • openssl pkey -in key.pem -noout -text — inspect
  • ssh-keygen -l -f — /.ssh/id_ed25519.pub~SSH key fingerprint and type
ReferenceWhy it matters1 section · depth on demand

What this area covers

TopicAnswers
RSA / ECCKey types and sizes
ECDHKey agreement
Public / private key, key pairWhat each part is and how to protect it
Digital signaturesIntegrity and origin evidence

Asymmetric cryptography solves key distribution and authentication; bulk data is still encrypted symmetrically.

ReferenceHow it works1 section · depth on demand

In depth

Asymmetric cryptography uses a key pair: a public key that can be shared and a private key that must stay secret. What one key does, only the other can undo. This solves the key-distribution problem of symmetric encryption and enables digital signatures, key exchange and certificates.

UseHow
Key exchange(EC)DH derives a shared secret over an insecure channel
Digital signaturesSign with private key, verify with public key
EncryptionEncrypt with public key, decrypt with private key (small data, e.g. key wrapping)

Common algorithms: RSA (2048+ bits, 3072 for long-term), ECDSA/ECDH (P-256, P-384), Ed25519/X25519. Asymmetric operations are slow, so protocols such as TLS use them to establish symmetric keys for the bulk data.

ReferenceImportant terms & boundaries1 section · depth on demand
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docCryptography, PKI and secrets current

Authoritative/upstream documentation reviewed for bounded claims in Asymmetric Cryptography. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/fips/186-5/final · confidence 94%
Confirmation

Confirm action

Continue?