← Home ← Codex ← DEBT ← Engine
Browse by Category
+ added · updated 7d
✕ Clear A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
HMAC Construction PHP 5.1+ 🧠 1
HMAC combines a secret key with a cryptographic hash via a nested keyed construction — providing message authentication that resists length-extension attacks.
CWE-353 OWASP A02:2021 Cryptographic Failures
2mo ago Cryptography intermediate 7.5
HTTP Content Negotiation 🧠 1
The HTTP mechanism by which clients declare what formats, languages, and encodings they accept (Accept, Accept-Language, Accept-Encoding) and servers respond with the best match — or 406 Not Acceptable if none fits.
6mo ago API Design intermediate
HTTP/2 Server Push & Early Hints 🧠 2
HTTP/2 Server Push lets a server proactively send assets (CSS, JS, fonts) before the browser requests them. 103 Early Hints is its practical successor — sending Link preload headers before the full response is ready.
6mo ago Networking intermediate
Hoisting — var, let, const and function ES5
JavaScript hoists declarations to the top of their scope — var and function declarations are fully hoisted, while let and const are hoisted but remain in the Temporal Dead Zone until their declaration line.
6mo ago JavaScript intermediate
History API — SPA Routing with PHP Backend HTML5 🧠 1
history.pushState and popstate enable URL changes without page reload — used for SPA routing while keeping PHP as the backend.
6mo ago JavaScript intermediate
Hashing Algorithms Deep Dive PHP 7.2+ 🧠 4
Comparing hash functions for different use cases — MD5/SHA-1 (broken, legacy), SHA-256/BLAKE3 (data integrity), bcrypt/Argon2 (passwords), xxHash/MurmurHash (non-cryptographic, fast).
6mo ago Algorithms intermediate
How CDNs Work 🧠 1
CDNs use Anycast routing and distributed edge PoPs to serve content from the nearest location — reducing latency from 300ms to 5ms for cached responses.
6mo ago Networking intermediate
HTTP Request-Response Cycle 🧠 6
The complete lifecycle of an HTTP request — DNS resolution, TCP connection, TLS handshake, request transmission, server processing, and response delivery.
6mo ago Networking intermediate
Diagram: Hash Table Hash Table PHP 5.0+ 🧠 3
A data structure that maps keys to values using a hash function, providing amortised O(1) average-case lookups, insertions, and deletions.
6mo ago Data Structures intermediate
hash_equals() PHP 5.6+ 🧠 2
Constant-time string comparison that prevents timing attacks when validating tokens and CSRF values.
6mo ago PHP intermediate
Header Injection PHP 5.0+
User input included in an HTTP response header without stripping newlines enables response splitting and redirect hijacking.
CWE-113 OWASP A3:2021
6mo ago Security intermediate 6.1
Diagram: Heaps & Priority Queues Heaps & Priority Queues PHP 5.3+ 🧠 2
A tree-based structure satisfying the heap property — min-heap: parent ≤ children; max-heap: parent ≥ children — enabling O(1) peek and O(log n) insert/extract for priority queues.
6mo ago Data Structures intermediate
HMAC (Hash-based Message Authentication Code) PHP 5.1+ 🧠 2
A keyed hash that verifies both the integrity and authenticity of a message — only someone with the secret key can produce or verify it.
OWASP A2:2021
6mo ago Security intermediate
Host Header Injection PHP 5.0+ 🧠 1
A manipulated HTTP Host header is used by the application to generate URLs, enabling cache poisoning, password-reset hijacking, or SSRF.
CWE-116 OWASP A3:2021
6mo ago Security intermediate 7.5
HTTP Caching (ETags, Cache-Control) 🧠 1
Standard HTTP headers that instruct browsers and intermediary caches on how long to cache responses and when to revalidate.
6mo ago Performance intermediate
Diagram: HTTP Methods — Idempotency & Safety HTTP Methods — Idempotency & Safety 🧠 2
Safe methods (GET, HEAD) have no side effects. Idempotent methods (GET, PUT, DELETE, HEAD, OPTIONS) produce the same result regardless of how many times they are called.
6mo ago Networking intermediate
HTTP Parameter Pollution PHP 5.0+
Submitting duplicate HTTP parameters exploits inconsistencies in how servers and applications parse repeated keys.
CWE-235 OWASP A3:2021
6mo ago Security intermediate 6.5
HTTP Security Headers Checklist
A set of response headers that instruct browsers to enforce security policies — CSP, HSTS, X-Frame-Options, X-Content-Type-Options, and Permissions-Policy.
6mo ago Security intermediate
HTTP/2 & HTTP/3 🧠 1
Modern HTTP protocol versions that deliver significant performance gains via multiplexing, header compression, and (HTTP/3) UDP transport.
6mo ago Performance intermediate
Hyrum's Law 🧠 3
"With enough API users, all observable behaviours will be depended upon, regardless of documented contract" — implicit behaviours become de facto API.
6mo ago General intermediate
✓ schema.org compliant