Encryption Before Compression or Compression Before Encryption? @CryptographyForEverybody
Encryption Before Compression or Compression Before Encryption?  @CryptographyForEverybody
Uploaded April 2021 | Updated November 2026, 3 hours ago
#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: 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: youtu.be/jbumW7Ym03o

You may download the latest version of CrypTool 2 from here: cryptool.org/en/ct2/downloads
Like what I do πŸ˜„? Help fuel my crypto obsession πŸŽ“ β€” buy me a coffee hereβ˜•β€” thx: buymeacoffee.com/cryptographyforeverybody
Encryption Before Compression or Compression Before Encryption?Lets Encrypt Text Securely with AES and PKCS#5Break a Caesar Cipher – One of the Oldest Known Encryption Method of the Ancient WorldBreak an Encrypted Letter of a Child KillerThe Book Cipher Explained – Encryption & Decryption Using a BookHow to Hide Secret Data in Images – Steganography Part 2Break a World War I ADFGVX Cipher – A Cipher Germans Believed was UnbreakableApplied Cryptography C1: Introduction - Basic Cryptology Terminology (Lecture)Break Encrypted Postcards on New Years DayLets Use AES in CrypTool 2 to Encrypt Files Using a PasswordLets Program a Hash Preimage Searcher to Break PasswordsEnigma Machine – Part 2 of 2 – Lets break it!
Cryptography for Everybody |

Encryption Before Compression or Compression Before Encryption?

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER