Chapter 14

Compressing and Concealing Data

IN THIS CHAPTER

Bullet Creating efficient and smart encodings

Bullet Leveraging statistics and building Huffman trees

Bullet Compressing and decompressing using the Lempel-Ziv-Welch (LZW) algorithm

Bullet Performing encryption tasks

The last decade has seen the world flooded by data. In fact, data is the new oil, and specialists of all sorts hope to extract new knowledge and richness from it. As a result, you find data piled everywhere, and it’s often archived as soon as it arrives. The first part of this chapter focuses on using various compression techniques to store data efficiently. It’s split into two major subsections: encoding techniques and data compression. The discussion in the first part begins with encoding techniques.

The first part also discusses data compression in a second subsection. Data compression algorithms offer the solution of compacting data to store more of it on a single device at the cost of computer processing time. Trading disk space for computer time reduces costs. Compression is also handy in situations in which data infrastructure growth ...

Get Algorithms For Dummies, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.