Chapter 14
Compressing and Concealing Data
IN THIS CHAPTER
Creating efficient and smart encodings
Leveraging statistics and building Huffman trees
Compressing and decompressing using the Lempel-Ziv-Welch (LZW) algorithm
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access