Lecture : Encryption
What is Encryption?
Encryption is the process of converting plain (readable) data into a
coded (unreadable) format using an algorithm and a key, so that
ift
unauthorized users cannot access the original information. The
process of converting it back to readable form is called decryption.
sw
Why is Encryption Important?
● Protects Confidentiality – Ensures only authorized parties can
ft-
read the data
● Supports Data Integrity – Prevents unauthorized modifications
hi
● Enables Secure Communication – Safeguards emails, chats,
transactions
-s
● Compliance – Required by many regulations (e.g., GDPR,
Pu
HIPAA)
Core Components of Encryption
1.Plaintext – Original, readable data
2.Ciphertext – Encrypted, unreadable data
3.Encryption Algorithm – The mathematical formula used to
encrypt/decrypt
4.Key – Secret value used to lock/unlock the message
ift
Types of Encryption
sw
1. Symmetric Encryption
● Uses the same key for both encryption and decryption
● Fast and efficient
ft-
● Key challenge: securely sharing the key
hi
Examples: AES, DES, Blowfish
-s
2. Asymmetric Encryption (Public Key Cryptography)
● Uses two keys: public key (shared) and private key (kept secret)
Pu
● Public key encrypts; private key decrypts
● Enables secure communication without prior key exchange
Examples: RSA, ECC
Common Uses of Encryption
● HTTPS websites – Secure online browsing
● Email encryption – Protect confidential messages
● Cloud storage – Protect data stored online
● VPNs – Secure communication over the internet
ift
● Digital payments – Secure credit card and banking transactions
w
-s
How Encryption Works (Example)
1.You type a message: “Hello”
ift
2.Encryption algorithm and key convert it to: “Yd76!#@”
h
3.The recipient uses the key to decrypt it back to “Hello”
-s
Pu
Challenges in Encryption
● Key management and distribution
● Performance overhead in large systems
● Balancing usability and security
● Risk of weak algorithms or poor implementation
Summary
Encryption is a fundamental tool in modern information security. It
ensures that data remains confidential and secure, even if
ift
intercepted. Whether you're securing emails, payments, or stored
files—encryption keeps data safe.
w
-s
h ift
-s
Pu