Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Ethical Hacking Workshop

You're reading from  Ethical Hacking Workshop

Product type Book
Published in Oct 2023
Publisher Packt
ISBN-13 9781804612590
Pages 220 pages
Edition 1st Edition
Languages
Authors (2):
Rishalin Pillay Rishalin Pillay
Profile icon Rishalin Pillay
Mohammed Abutheraa Mohammed Abutheraa
Profile icon Mohammed Abutheraa
View More author details

Table of Contents (13) Chapters

Preface 1. Part 1:Network Fundamentals
2. Chapter 1: Networking Primer 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 $15.99/month. Cancel anytime}