NEW
A secret cryptographic key used in public-key systems for decryption and creating digital signatures.
DESCRIPTION
In asymmetric cryptography, a private key is the confidential half of a key pair used to decrypt data encrypted with the corresponding public key and to generate digital signatures. Private keys must be safeguarded with strong access controls, hardware security modules, and secure storage practices. They underpin protocols like TLS, SSH, and PGP, ensuring authentication, integrity, and non-repudiation. Compromise of a private key can enable impersonation or data decryption, making key rotation and lifecycle management essential. Private keys are generated by algorithms such as RSA and elliptic curve cryptography and are often stored using formats like PKCS#12 or PEM.
ALTERNATIVE DEFINITIONS
NIST CSRC Glossary
A cryptographic key used with a public-key cryptographic algorithm that is uniquely associated with an entity and is not made public.
Emphasizes unique association to an entity and secrecy.
IETF RFC 4949: Internet Security Glossary, Version 2
private key (synonym: secret key): The secret component of a pair of cryptographic keys used for asymmetric cryptography.
Clarifies synonym and role within asymmetric key pairs.
Cloudflare Learning Center
A private key is kept secret and is used to decrypt data and create digital signatures, while the public key is shared to encrypt data and verify signatures.
Contrasts private and public key roles in practice.
RELATED TERMS
Public Key Cryptography RSA Elliptic Curve Cryptography Digital Signature Key Pair TLS Certificate Authority Key Management Data Encryption
COMPETING TERMS
RELATIONS
- Broader: Key
KNOWLEDGE AREAS
Data Security Infrastructure Software Engineering Data Privacy & Compliance
TARGET AUDIENCE
Security Architect Cybersecurity Engineer Chief Information Security Officer Data Privacy Officer Software Developer Cloud Architect DevOps Engineer
EXTERNAL SOURCES
- Wikipedia - Public-key cryptography#Key pair
- NIST SP 800-57 Part 1 Rev. 5 - Key management guidance and definitions
- IETF RFC 5280 - X.509 PKI certificate and key usage
- AWS KMS Documentation - Managed key creation and protection
- OpenSSL Manual - Private key formats and tooling
TOP QUESTIONS
What is a Private Key in asymmetric cryptography?
A Private Key is the secret component of a key pair used to decrypt data and generate digital signatures, enabling authentication and integrity in secure communications.
Category: Definition
Why is a Private Key critical in TLS and HTTPS?
TLS servers use Private Keys to complete handshakes and prove identity; compromise of the key enables impersonation and decryption of captured traffic if forward secrecy is not used.
Category: Relevancy
How should a Private Key be stored and protected?
Use hardware security modules, strong passphrases, restricted access, and audit controls; rotate keys regularly and enforce least privilege through role-based access.
Category: Best practices
What happens if a Private Key is compromised?
Attackers may impersonate services and decrypt data; respond by revoking certificates, rotating keys, investigating scope, and notifying stakeholders according to incident procedures.
Category: Risks
How does a Private Key relate to digital signatures?
Signatures are created with the Private Key and verified with the Public Key, providing integrity and non-repudiation for messages and software artifacts.
Category: Concept
Which algorithms generate Private Keys?
Common algorithms include RSA and elliptic curve schemes like Ed25519 and ECDSA, each with distinct performance and security properties.
Category: Overview
What formats are used to store a Private Key?
PEM and PKCS#12 are widely used formats; they can include encryption and metadata to safeguard and transport keys.
Category: Implementation
How does forward secrecy affect Private Key risk?
Forward secrecy ensures past sessions remain confidential even if a Private Key is later compromised by using ephemeral keys for session encryption.
Category: Misunderstanding
What is the difference between a Private Key and a Public Key?
A Private Key must remain secret and is used for decryption and signing; a Public Key is shared and used for encryption and signature verification.
Category: Comparison