Data & cryptography

Technical guides about data & cryptography, written for practical follow-up.

Latest guides

16 articles
Data & cryptography

JWT validation: signatures, claims and the key you actually trust

Work through a token-verification decision using issuer, audience, expiry and an independently trusted key.

Tokens, passwords & IDs8 min read
Data & cryptography

Verify a download checksum without confusing integrity with trust

Compare complete digests, obtain the expected value independently and understand when a signature gives stronger evidence.

Hashing, encryption & integrity8 min read
Data & cryptography

Browser file encryption: plan the password and recovery test first

Understand authenticated encryption, the vault format and a safe round-trip workflow before deleting or moving source files.

Hashing, encryption & integrity8 min read
Data & cryptography

Why identical-looking text produces different hashes

Inspect UTF-8 bytes, Unicode normalisation and line endings before comparing text digests across applications.

Hashing, encryption & integrity8 min read
Data & cryptography

Verify webhook HMACs using the original request bytes

Define the signed message, key encoding, timestamp window and replay rules before comparing a webhook signature.

Hashing, encryption & integrity8 min read
Data & cryptography

Password breach checks: what a range query can tell you

Understand hash prefixes, padded responses and corpus limits, then choose a practical response to a match.

Tokens, passwords & IDs8 min read
Data & cryptography

UUIDv4 identifiers: randomness, collisions and validation

Read the version and variant bits, estimate collision risk responsibly and keep identifiers separate from access control.

Tokens, passwords & IDs8 min read
Data & cryptography

Generate passwords around a password-manager workflow

Choose length and character rules with an explicit threat model, then handle storage, recovery and service restrictions.

Tokens, passwords & IDs8 min read
Data & cryptography

Design random tokens with enough entropy and a clear expiry

Convert a byte budget into encoded length, store verifiers safely and plan single-use and revocation behaviour.

Tokens, passwords & IDs8 min read
Data & cryptography

Review a HAR archive before it reaches a support ticket

Inspect request and response data, remove application-specific secrets and verify that redaction preserves a useful reproduction.

Data formats & archives8 min read
Data & cryptography

Base64 and Base64url: decode bytes without losing Unicode

Work through padding, alphabet differences and UTF-8 conversion, including why encoding is not encryption.

Data formats & archives8 min read
Data & cryptography

Hexadecimal data: bytes, text and endianness

Read hex pairs, recognise malformed input and decide when a byte sequence should be decoded as text or a number.

Data formats & archives8 min read
Data & cryptography

JSON validation beyond a missing comma

Separate syntax, duplicate member names, numeric precision and schema requirements when reviewing an API payload.

Data formats & archives8 min read
Data & cryptography

Unix timestamps: seconds, milliseconds and timezone mistakes

Recognise units, preserve range and reproduce daylight-saving errors without treating a timestamp as a local clock reading.

Data formats & archives8 min read
Data & cryptography

That HAR file might be your login.

Before attaching a network trace to a support ticket, check the credentials and application data that may be travelling with it.

Data formats & archives8 min read
Data & cryptography

Hashing and encryption do different jobs.

A file checksum, an encrypted vault and a breach lookup can all involve cryptography. Knowing which question each answers prevents expensive mistakes.

Hashing, encryption & integrity8 min read

16 guides

← All guides
50 useful tools · ↑ ↓ to navigate · Enter to open · Esc to close