opyeb sqlmask

Guides and reference

Four subjects: understanding the patterns, anonymising SQL dumps without breaking joins, deterministic pseudonyms, and the CSV/JSONL traps. Each article opens with the one-line answer.

01Six PII patterns — what is found and where it goes wrongHow emails, phones, cards, Korean resident numbers, IPv4 and IPv6 are recognised by shape, and how Luhn and checksum validation cut false positives and misses.02Anonymising SQL dumps — INSERT, UPDATE and COPY without breaking themRewrite only the value literals in a SQL dump, keep the statement structure, and handle WHERE clauses, numeric literals and COPY data blocks deliberately.03Deterministic pseudonyms — same value, same pseudonym, joins intactHow HMAC-SHA-256 and a salt map every input to the same pseudonym, why that keeps joins working, and where the approach stops.04CSV and JSONL traps — quotes, newlines and nested fieldsHow to keep values intact through RFC 4180 quoting and newlines in CSV, and through nested paths and re-serialisation in JSONL.
Back to the anonymiser