Developer Resources

Guides & Tutorials

Step-by-step tutorials, language examples, and comparisons for modern developers.

Use Cases

Real-World Use Cases

Learn how to apply our tools for specific real-world scenarios.

Base64 Encoding for Images

Inline small images as data URIs in HTML, CSS, and email. Covers cache tradeoffs, the 33% size bump, CSP img-src data:, ...

base64 imagedata uriembed image in html
→

Base64 Encoding for Email

How MIME uses Base64 for attachments and HTML email. Covers 76-character line wrapping, cid: versus data URIs, and why i...

base64 emailmime encodingemail attachment encoding
→

Base64 Encoding for APIs

Put files in JSON with Base64, or skip it for multipart and presigned URLs. Covers Unicode versus binary, size limits, a...

base64 apisend image in jsonbinary data json api
→

JWT for Authentication

Issue a JWT at login, store it in an httpOnly cookie, keep exp short, and inspect HS256 locally. Covers localStorage XSS...

jwt authenticationjson web token authjwt login
→

JWT for API Authorization

Authorize REST calls with Bearer JWTs, scopes, aud, and iss. Covers gateway middleware, why stateless tokens are hard to...

jwt api authorizationauthorization bearer jwtjwt scopes roles
→

URL Encoding for Query Strings

Percent-encode query values with encodeURIComponent, not the whole URL. Covers &, =, +, spaces, UTF-8 bytes, and how to ...

url encode query stringencodeuricomponentpercent encoding query
→

JSON for API Development

Design JSON APIs with the right Content-Type, error objects, pagination, and ISO dates. Covers envelopes, null versus om...

json apirest api jsonjson error object
→

JSON for Configuration Files

How to structure, validate, and version config.json files. Covers environment overlays, JSON Schema, comments versus JSO...

json configjson configuration fileconfig.json
→

Hash Algorithms for Password Storage

Store passwords with Argon2id, bcrypt, or scrypt — not SHA-256. The Hash Generator is for checksums only; use the Passwo...

password hashingargon2id bcrypt scryptdo not store sha-256 password
→

Hash Functions for Data Integrity

Verify downloads with SHA-256 checksums and HMAC when you also need authenticity. SHA-1 is legacy; MD5 is omitted on pur...

file checksumsha256 checksumhmac authenticity
→

Unix Timestamps in Databases

Store UTC epoch seconds in BIGINT to avoid time zones and the Y2038 overflow. Covers milliseconds versus seconds, range ...

unix timestamp databasebigint epoch y2038seconds versus milliseconds
→

Hex Colors for Web Design

Use #RRGGBB, 3-digit shorthand, RGB, and HSL in CSS. Generate complementary, triadic, analogous, and shade palettes, the...

hex color web designcss hex colorshex to rgb hsl
→

Comparisons

Tool & Technique Comparisons

Understand when to use different tools and techniques.