Magic or Mathematics?
Discover how powers of two, XOR logic, and parity bits turn simple yes-or-no choices into reliable digital messages.
Search across lessons, laboratories, projects, code explanations, and glossary definitions, or filter the 22 chapters by part and difficulty.
Search runs entirely in your browser via Pagefind static index; no search queries are sent to third parties.
You do not need prior programming experience to start Chapter 01. Volume 1 uses small, readable JavaScript functions with four basic ideas:
const bits = [1, 0, 1, 1]; stores data you do not reassign; let count = 0; stores a value that changes.function parity(bits) { ... } groups reusable steps.for (const b of bits) repeats steps; if (count % 2 === 0) checks a rule.console.log(...) prints values so you can verify your prediction against the computer.Discover how powers of two, XOR logic, and parity bits turn simple yes-or-no choices into reliable digital messages.
Learn how modular arithmetic, weighted sums, Luhn checks, and ISBN-10 catch everyday typing mistakes automatically.
Decode how EAN-13 barcodes encode digits as 7-module bar patterns, guard bars, and parity-encoded first digits.
Explore 2D QR matrices, finder patterns, mask patterns, and Reed-Solomon error correction over finite fields.
Build Hamming(7,4) single-bit error correction and XOR-based RAID drive recovery from scratch.
Look inside SIM card authentication, challenge-response cryptography, and how cellular base stations hand off moving phones.
Investigate how cell-tower geometry, signal uncertainty, and timing limits bound what location logs can and cannot prove.
Follow an Internet packet through DNS lookup, dynamic routing around broken links, NAT, and reliable TCP reassembly.
Understand cookies, metadata, browser fingerprinting, and how data minimization protects online privacy.
Discover how GPS turns atomic-clock timestamps into distances, why four satellites solve receiver clock bias, and why relativity matters.
Move from breakable classical ciphers to Diffie-Hellman key agreement and real authenticated AES-GCM encryption via Web Crypto.
Explore least-significant-bit (LSB) steganography, pixel capacity limits, and why hiding data differs from encrypting it.
Explore cryptographic hashes, avalanche behavior, ECDSA digital signatures, key derivation, and time-based one-time passwords (TOTP).
Model network contagion, benign marker detection, and defensive incident triage safely with zero real malware.
Trace card authorization, double-entry ledgers, idempotency keys against duplicate charges, and fraud review rules.
Build Run-Length Encoding, Huffman prefix trees, and lossy quantization, and learn why no algorithm can compress every file.
Sample sound waves above the Nyquist rate, decompose mixtures with Fourier analysis, match acoustic fingerprints, and cancel noise.
Compare linear vs. binary search, build an inverted index, and iterate PageRank including dangling nodes and damping.
Apply convolution kernels to detect edges, classify tiny pixel digits, and analyze false-match vs. false-reject thresholds.
Train a tiny classifier, explore probabilistic next-word prediction, and test why train/test separation and factual verification matter in AI.
Model 13.56 MHz inductive coil coupling, pack NDEF byte payloads, and design safe tap-to-open interfaces.
Explore Bluetooth LE beacons, rotating public keys, crowdsourced finding networks, and unwanted-tracker safety alerts.