Public Key Encryption (original) (raw)

Last Updated : 11 Jul, 2025

Public key cryptography provides a secure way to exchange information and authenticate users by using pairs of keys. The public key is used for encryption and signature verification, while the private key is used for decryption and signing.

When the two parties communicate with each other to transfer the intelligible or sensible message, referred to as plaintext, is converted into apparently random unreadable for security purposes referred to as ciphertext.

Public Key Cryptography

Public key cryptography is a method of secure communication that uses a pair of keys, a public key, which anyone can use to encrypt messages or verify signatures, and a private key, which is kept secret and used to decrypt messages or sign documents.

This system ensures that only the intended recipient can read an encrypted message and that a signed message truly comes from the claimed sender. Public key cryptography is essential for secure internet communications, allowing for confidential messaging, authentication of identities, and verification of data integrity.

Cryptographic Key

A cryptographic key is a piece of information used by cryptographic algorithms to encrypt or decrypt data, authenticate identities, or generate digital signatures. It serves as a parameter to control cryptographic operations, ensuring the security and privacy of digital communications and transactions.

How Does TLS/SSL Use Public Key Cryptography

TLS/SSL uses public key cryptography to keep our internet connections secure. It does this in two main ways:

By using public key cryptography, TLS/SSL protects our privacy online and ensures that the websites we visit are genuine and trustworthy.

**Components of Public Key Encryption

Public Key Encryption Working

**Key Pair Generation : A user generates a pair of keys :

**Encryption : If someone wants to send a private message:

**Decryption : Upon receiving the message:

Capture332

Public Key Encryption

Public Key Encryption Practical Example: **Secure Website (HTTPS)

When you visit a secure website like https://www.bank.com, public key encryption is used behind the scenes to encrypt data between your browser and the bank's server.

**Bank's Server Has a Key Pair

**You Connect to the Website

**Encrypting the Session Key

**Secure Communication Begins

Why Public Key Encryption is Used

**Characteristics of Public Encryption key

**Limitations of the Public Key Encryption

**Applications of the Public Key Encryption