Digital Signatures and Certificates (original) (raw)

Last Updated : 2 Jun, 2026

Digital signatures and certificates are two fundamental technologies used to ensure security, authenticity, and trust in online communication.

Digital Signature

Cryptographic technique verifies authenticity, integrity, and non-repudiation of a digital message or document, ensuring known sender origin and protection against alteration during transmission.

Key Components of Digital Signature

**1. Key Generation Algorithm

Digital signatures use asymmetric cryptography, which involves a pair of keys:

This key pair ensures secure authentication during digital transactions.

**2. Signing Algorithm

To create a digital signature:

Instead of encrypting the entire message, only the hash is encrypted because:

**3. Signature Verification Algorithm

At the receiver’s side:

Working

sender

Working of Digital Signature

**A one-way hash function ensures that:

Digital vs Electronic Signature

Digital Signature Electronic Signature
Cryptographic mechanism using PKI. Generic electronic consent method.
Uses a public–private and key pair. May not use cryptography.
Ensures authentication, integrity, and the non-repudiation. Mainly indicates intent or approval.
High security, tamper-evident. Security depends on implementation.
Used for legally sensitive transactions. Used for general digital agreements.

Advantages

Disadvantages

Digital Certificate

A digital certificate is an electronic document issued by a trusted third party known as a Certificate Authority (CA).

Contents of a Digital Certificate

**A digital certificate typically includes:

The certificate is often transmitted along with digital signatures and encrypted messages.

Advantages

Disadvantages

Digital Certificate vs Digital Signature

Feature Digital Signature Digital Certificate
Definition Ensures the integrity and authenticity of a document Verifies the identity of an entity
Purpose Message verification Identity verification
Generated By Sender using private key Certificate Authority
Standard Digital Signature Standard (DSS) X.509
Security Services Integrity, authenticity, non-repudiation Authentication and trust

Encryption and Decryption

Encryption is the process of converting plaintext into ciphertext to protect data from unauthorized access. Decryption is the process of converting ciphertext back into readable plaintext.

Types of Encryption

**1. Symmetric Encryption: Use the same key for both encryption and decryption.

**2. Asymmetric Encryption: Use two different keys: a public key and a private key.

Key Security Concepts