CyberKit

Asymmetric Encryption

Also called Public-Key Cryptography.

A key pair where the public key encrypts and the private key decrypts.

What it is

A scheme that uses a mathematically linked key pair: a freely shareable public key and a secret private key. Data encrypted with one key can only be reversed with the other, which also enables digital signatures.

Why it matters

It solves the key-distribution problem that symmetric crypto cannot, underpinning TLS, code signing, and PKI. Compromise or theft of a private key is therefore a high-severity event that can impersonate an identity or decrypt captured traffic.

In practice

A server publishes its public key so clients can establish a session without ever sharing a secret in advance.

What to look for

  • Private keys left in repositories, images or shared folders.
  • Short RSA keys under 2048 bits.
  • Public key operations used to encrypt large data directly.

Common mistake

Encrypting bulk data with the public key. Use it to protect a symmetric key, then encrypt the data with that.

Practice it nearby

CyberKit has no tool for this term itself. These are the closest places to practice it.

In the field

Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.

  • OpenSSL Open source

    The command line toolkit for inspecting certificates, keys and TLS connections.

  • HashiCorp Vault Source available

    Manages secrets and encryption keys, and can encrypt data as a service.

  • AWS Key Management Service Cloud service

    AWS's managed service for creating and controlling encryption keys.

Read next

  • Symmetric Encryption: Encryption where the same key both encrypts and decrypts the data.
  • RSA: A widely used public-key algorithm based on the difficulty of factoring.
  • Digital Signature: A cryptographic proof of a message's origin and integrity.

Sources