liveBook · Manning

Private key

As explained in Fundamentals of Cybersecurity

A private key is a cryptographic key kept secret by its owner and used in asymmetric cryptography for signing or private-key decryption.

A private key is the secret half of a related public–private key pair. The public key can be shared; the private key must remain confidential to its owner. In asymmetric encryption, the private key lets its owner decrypt data encrypted with the matching public key. It is also used to create digital signatures. section 14.2

Sending a confidential message

Alice encrypts a message using Bob’s public key. Bob then uses his private key to decrypt it. Alice does not need a copy of Bob’s private key—and neither should anyone else. section 14.2.2

For a digital signature, the direction changes: the sender uses their own private key to sign, and others use the matching public key to verify. A document signature is made from a hash of the document. Verification compares that hash with a fresh hash of the received document, helping detect changes and showing that the signer’s private key was used. section 14.2.5

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 the key roles: a recipient’s private key decrypts a confidential message, while a sender’s private key signs one. section 14.2.2

Keeping the key secret is a practical security requirement. If an attacker obtains a private key, they may decrypt confidential messages or forge signatures. Protecting the private key is not the whole trust problem: public key infrastructure (PKI) uses digital certificates to link a public key to a verified identity, helping others check whose key they are using. section 14.2.6 section 14.2.5

How Fundamentals of Cybersecurity covers it

How deep it goes
Works through decryption and hash-based signing, but does not specify private-key generation or storage procedures.
Examples
Uses a confidential message encrypted with the recipient’s public key and a document signed with the sender’s private key.
What it assumes
Defines plaintext, ciphertext, and cryptographic keys before distinguishing public and private keys.
What you can do after
Evaluate/understand when a private key decrypts or signs, and why exposing it threatens confidentiality and trustworthy signatures.
How it connects
Connects asymmetric encryption and digital signatures to public key infrastructure, digital certificates, and the risks of compromised keys.

Also explained in

Compare how 14 books explain private key →

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.