Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ethical Hacking Workshop

You're reading from   Ethical Hacking Workshop Explore a practical approach to learning and applying ethical hacking techniques for effective cybersecurity

Arrow left icon
Product type Paperback
Published in Oct 2023
Publisher Packt
ISBN-13 9781804612590
Length 220 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Rishalin Pillay Rishalin Pillay
Author Profile Icon Rishalin Pillay
Rishalin Pillay
Mohammed Abutheraa Mohammed Abutheraa
Author Profile Icon Mohammed Abutheraa
Mohammed Abutheraa
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Part 1:Network Fundamentals
2. Chapter 1: Networking Primer FREE CHAPTER 3. Chapter 2: Capturing and Analyzing Network Traffic 4. Chapter 3: Cryptography Primer 5. Part 2: Breaking and Entering
6. Chapter 4: Reconnaissance 7. Chapter 5: Scanning 8. Chapter 6: Gaining Access 9. Part 3: Total Immersion
10. Chapter 7: Post-Exploitation 11. Index 12. Other Books You May Enjoy

Encryption algorithms

As you learned in the preceding sections, encryption has been around for many years. You also saw some classic ciphers and their pitfalls. Now, let’s focus on encryption algorithms and look at the difference between symmetric and asymmetric encryption.

Symmetric encryption

When symmetric encryption is used, the same key is used to both encrypt and decrypt data. This means that if two parties are communicating, both parties will hold an identical key that is never exposed. Hence, symmetric encryption is also known as private key encryption.

The following figure shows how symmetric encryption operates, whereby the same key is used to encrypt and decrypt the data:

Figure 3.2 – Symmetric encryption

Figure 3.2 – Symmetric encryption

Symmetric key encryption is used to encrypt copious amounts of data with less resource overhead. It is also faster than asymmetric encryption since it can scale easily and is used a lot in large organizations.

Symmetric...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime