Encryption vs. Compression: Which Should Come First? πŸ”

Discover the best order for encryption and compression to ensure security and efficiency. Learn the pros and cons of encrypting before or after compressing your data!

Encryption vs. Compression: Which Should Come First? πŸ”
Cryptography for Everybody
2.3K views β€’ Apr 16, 2021
Encryption vs. Compression: Which Should Come First? πŸ”

About this video

#cryptology, #cryptography, #cryptanalysis

In the video, we answer the question, if we should first encrypt and then compress or first compress and then encrypt.

We have a small test setup with three different file types (bmp, jpg, and txt). For each type, we have a test file, which we first zip and then encrypt (using AES) and then first encrypt and then zip. Which file will be the smallest one :-) ?

Finally, we have a look a the entropy values of each of the files and compare these values. If you want to know, what entropy means, please have a look at this video here: https://www.youtube.com/watch?v=76eBFVBnYnQ
After this video, you should see what makes more sense when working with compression and encryption.

If you are interested in learning the basics of cryptology, you should also have a look at our video series about basics of cryptology – also for beginners: https://youtu.be/jbumW7Ym03o

You may download the latest version of CrypTool 2 from here: https://www.cryptool.org/en/ct2/downloads
Like what I do πŸ˜„? Help fuel my crypto obsession πŸŽ“ β€” buy me a coffee hereβ˜•β€” thx: https://buymeacoffee.com/cryptographyforeverybody

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

2.3K

Likes

60

Duration

16:25

Published

Apr 16, 2021

User Reviews

4.5
(2)
Rate:

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.