Deterministic Offline PCI-DSS Card PAN & PII Scrubbing for Binary EBCDIC Test Suites
PCI-DSS Req. 6.5.3 strictly prohibits real Primary Account Numbers (PANs) in non-production dev/QA repositories — yet naive text masking corrupts fixed LRECL offsets, RDW headers, and downstream Luhn Mod-10 validators.
In-Place Binary Replacement Without Shifting a Single Byte
EbcdicPrism Copybook Viewer (`Alt+Shift+R`) parses your `.cpy` layout locally, locates PAN, SSN, cardholder name, and address columns at their exact byte offsets (whether stored as `DISPLAY` Zoned EBCDIC or `COMP-3` Packed Decimal), and writes back deterministic `HmacSHA256` tokens of the exact same byte length:
- 6-Digit Issuer BIN Preserved: Card-brand routing logic (`453201...` Visa, `542523...` Mastercard) keeps working in integration tests.
- ISO/IEC 7812 Luhn Mod-10 Recomputed: The final digit is mathematically recalculated so payment-gateway Luhn checks pass cleanly.
- Financial `COMP-3` & `RDW` Bytes Untouched: Settlement totals and batch control hashes remain 100% balanced.

Frequently Asked Engineering Questions
Will the same production PAN scrub to the same synthetic PAN across two settlement files?
Yes. Using a shared local HMAC seed, identical input PANs map deterministically to identical Luhn-valid synthetic PANs across authorization, clearing, and chargeback files so join keys stay intact.
Inspect, Decode, Diff & PCI-Scrub Mainframe Dumps Offline in Your JetBrains IDE
Never upload regulated banking, card-network, or insurance .ebcdic extracts or proprietary .cpy schemas into browser hex viewers. EbcdicPrism Copybook Viewer runs 100% air-gapped inside IntelliJ IDEA, DataGrip, PyCharm, Rider, GoLand, and WebStorm with a forever-free core tier and a 14-day [Pro] trial.