Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: V. Anton Spraul

Rating No ratings yet

We use software every day to perform all kinds of magical, powerful tasks. It's the force behind stunning CGI graphics, safe online shopping, and speedy Google searches. Software drives the modern world, but its inner workings remain a mystery to many. How Software Works explains how computers perform common-yet-amazing tasks that we take for granted every day. Inside you'll learn: –How data is encrypted –How passwords are used and protected –How computer graphics are created –How video is compressed for streaming and storage –How data is searched (and found) in huge databases –How programs can work together on the same problem without conflict –How data travels over the Internet How Software Works breaks down these processes with patient explanations and intuitive diagrams so that anyone can understand—no technical background is required, and you won't be reading through any code. In plain English, you'll examine the intricate logic behind the technologies you constantly use but never understood. If you've ever wondered what really goes on behind your computer screen, How Software Works will give you fascinating look into the software all around you

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A patient, code-free tour of the everyday technologies we take for granted—encryption, password storage, secure web traffic, image and video compression, search, and concurrency—written for curious non-specialists who want the logic, not the source code. Read it if you've ever wondered what actually happens behind the lock icon or the loading spinner. 【Book Arc】 - **Opening (~0%–10%)**: Sets up the book's premise—software performs "magical" tasks that most people never understand—and begins the security thread with the fundamentals of encryption: plaintext vs. ciphertext, attackers, and the classic transposition and substitution ciphers, including their weaknesses (cribs, frequency analysis, brute force). - **Early (~10%–35%)**: Moves from toy ciphers to real cryptography: bitwise operations (especially XOR), AES's block-based rounds, key expansion, diffusion and the avalanche property, then hashing (MD5 as the worked example), digital signatures, collision attacks, and password storage defenses like iterative hashing and salting. - **Middle (~35%–55%)**: Tackles the shared-key problem and public-key cryptography, walking through RSA step by step and explaining why it's slow—then shows how RSA and AES are combined in practice to secure real web transactions between client and server. - **Late (~55%–80%)**: Shifts to graphics and media: how digital images and colors are defined, cel animation, 2D rendering, 3D CGI scene description, and how video is compressed for streaming and storage. (Excerpts cover the chapter structure but not the detailed mechanics.) - **Ending (~80%–100%)**: Covers the remaining everyday technologies—searching large databases, coordinating programs working on the same problem without conflict, and how data travels across the Internet. (Excerpts do not cover these chapters in detail.) 【Key Takeaways】 - **Encryption's core goal is practical asymmetry** (Opening): ciphertext should be easy for authorized users to decrypt but practically impossible for attackers—and "practically" is where all the interesting engineering lives. - **Classical ciphers teach the threat model** (Opening): transposition and simple substitution fail against cribs, known-plaintext attacks, and frequency analysis, establishing why modern methods must resist attackers who already know a lot about the plaintext. - **AES achieves strength through layered scrambling** (Early): 16-byte blocks, 10 rounds of transposition, S-box substitution, and XOR with expanded keys produce diffusion and the avalanche property, so tiny plaintext changes cascade through the entire ciphertext. - **Hashing is not encryption** (Early): MD5 converts passwords into fixed-length codes, but collisions and precomputed tables make naive storage dangerous—hence iterative hashing and salting to raise attackers' costs without wrecking login speed. - **Security is a cat-and-mouse game** (Early): flaws get discovered in once-trusted methods (MD5 being the cautionary example), so staying ahead of known design weaknesses is a permanent discipline, not a one-time fix. - **Public-key cryptography solves the shared-key problem** (Middle): RSA separates the locking and unlocking keys, letting two strangers establish secure communication—but its reliance on exponentiation makes it too slow for bulk data. - **Real systems combine fast and slow crypto** (Middle): RSA is used only to transmit an AES key; the actual data travels under AES. This hybrid pattern is what makes secure online shopping possible. - **The book's method is conceptual, not code-based** (throughout): every topic is explained with patient prose and intuitive diagrams, so the reader gains mental models rather than implementation skills. 【Reading Tips】 - **Deep-read the security chapters (roughly the first half).** They form the book's strongest through-line: encryption → hashing/passwords → public-key → web security. Each chapter builds on the last, so skipping ahead costs you the payoff. - **Skim the step-by-step numeric walkthroughs on a first pass.** The RSA ten-step example and AES key-expansion figures are worth returning to, but you can grasp the big idea before tracing every operation. - **Treat the graphics/media and later chapters as conceptual surveys.** Excerpts show the chapter topics (images, colors, cel animation, 3D CGI, video compression) but not their detailed arguments—read them for vocabulary and intuition, not mastery. - **Watch for the recurring theme of trade-offs.** Speed vs. security, iteration count vs. login latency, key length vs. practicality—these tensions are the book's real subject and transfer to any technology you meet later. - **Keep a mental glossary.** Plaintext, ciphertext, key, hash, salt, symmetric vs. public-key—nailing these early makes the rest of the book effortless. 【Coverage Limits】 This guide is based on stratified excerpts covering the book's front matter and security chapters in detail, with only chapter titles available for the graphics, video, search, concurrency, and networking material. Claims about those later chapters are limited to what the excerpts reveal.
Page 9
2D Graphics Software for 3D CGI How 3D Scenes Are Described The Virtual Camera Direct Lighting Global Illumination How Light Is Traced Full-Scene Anti-Aliasi...
View in text
Excerpt 2
k 2 and Block 5. Figure 1-15: Key expansion process for AES As you can see on the right of the figure, every fourth block passes through a box labeled “Extra...
View in text
Excerpt 3
he list requires great care. The Dangers of Password Tables Let’s look at the most straightforward way passwords could be stored in a table. In this example,...
View in text
Excerpt 4
× 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 × 17 Try working that out in your head, and you see the problem. Now imagine exponents involving numbe...
View in text
Excerpt 5
pixels in gray tones won’t help the black edge blend into a background of red-orange and brown pixels. A more general anti-aliasing technique calculates an a...
View in text
Excerpt 6
re every triangle is located on the screen and coloring its pixels doesn’t work because every pixel on the screen will probably be inside more than one trian...
View in text
Excerpt 7
y, game developers must review all the techniques available for real-time rendering—lighting and shadows and anti-aliasing, and lots of other possibilities w...
View in text
Excerpt 8
ted data with a reference number from a list of words, this algorithm employs a variation of dictionary compression called a sliding window. With this method...
View in text
Tags
AI categories
CybersecurityProgrammingTechnology
ISBN: 1593277172
Publish Year: 2015
Language: English
Pages: 216
File Format: PDF
File Size: 7.4 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…