SHA-256 for Working Developers: What It Is and When to Use It
A practical look at SHA-256 hashing — what it actually does, where it fits in real systems, the mistakes people make with it, and a quick worked example you can run today....
Tutorials, tips, and insights for modern developers
A practical look at SHA-256 hashing — what it actually does, where it fits in real systems, the mistakes people make with it, and a quick worked example you can run today....
HTML escaping is one of those things you either get right quietly or get wrong loudly — usually via an XSS bug. Here's what it actually does, when to reach for it, and the gotchas that trip people up....
Minified JSON is great for machines and miserable for humans. Here's how and when to format it, the gotchas that trip people up, and a quick worked example....
A practical guide to bcrypt for storing passwords — how it works, when to use it, the gotchas that bite people, and a short worked example....
Stripping whitespace from JSON is trivial, but knowing when it helps — and when it doesn't — saves you from premature optimisation and broken APIs. Here's the practical guide....
Minified JSON is great for the wire and terrible for humans. Here's how and when to format it, the gotchas that trip people up, and a quick worked example....
MD5 still shows up everywhere in real codebases. Here's a practical look at how it works, when it's fine to use, the gotchas that bite people, and a worked example you can run....
Base64 turns binary data into text so it survives systems that only expect text. Here's how it works, when to reach for it, and the gotchas that trip people up....
A practical guide to SHA-256 hashing — what it is, where it fits in real code, the gotchas that bite people, and a worked example you can copy....
Base64 shows up everywhere from data URIs to JWTs, but it's often misunderstood. Here's a practical rundown of what it is, when to use it, the gotchas that bite people, and a worked example....
A practical look at SHA-256 hashing — what it actually guarantees, the mistakes people make, and a quick worked example you can run today....
A practical guide to escaping HTML entities — what it actually does, when you need it, the gotchas that bite people, and a worked example you can steal....