liveBook · Manning

Public-private key pair

As explained in Fundamentals of Cybersecurity

An asymmetric key pair is a mathematically related public key and private key used for complementary cryptographic operations.

A public–private key pair consists of two mathematically related keys with different roles. The public key can be shared; its matching private key must stay secret. Together, they support communication without first sharing a secret key. section 14.2.2 section 14.2.3

The keys support two different goals:

  • For confidentiality, the sender encrypts with the recipient’s public key, and the recipient decrypts with their private key. section 14.2.2
  • For a verifiable signature, the sender uses their private key and the recipient checks it with the sender’s public key. section 14.2.2

A message for Bob

Alice encrypts a confidential message with Bob’s public key. Bob decrypts it with his private key, which he keeps confidential. section 14.2.2

Sharing a public key does not by itself prove who owns it. Public key infrastructure uses trusted authorities and digital certificates to link keys to verified identities, helping prevent an attacker from substituting a key. section 14.2.6

Compared with symmetric encryption, key pairs ease distribution and scale across users, but asymmetric encryption is slower and more resource-intensive. It is better suited to tasks such as key exchange and authentication than bulk data encryption. section 14.2.3

Property
Method
Confidentiality
• Sender encrypts with the receiver's public key
• Receiver decrypts with their own private key
Non-repudiation
• Sender signs with their own private key
• Receiver verifies with the sender's public key

Compare how public and private keys serve confidentiality and non-repudiation. section 14.2.2

How Fundamentals of Cybersecurity covers it

How deep it goes
Explains key roles, message flows, trade-offs, and public-key trust without detailing cryptographic mathematics.
Examples
Uses Alice and Bob’s confidential message and compares key requirements for a company with 100 employees.
What you can do after
Understand when key pairs support confidentiality, signatures, key exchange, and authentication rather than bulk encryption.
How it connects
Connects asymmetric encryption with symmetric encryption, digital signatures, and public key infrastructure.

Also explained in

Compare how 7 books explain public-private key pair →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Fundamentals of Cybersecurity. The section links point to the parts of the book it draws on.