# NBrain Byte X-Ray — Interactive Protocol & TLV Visualizer

- **Canonical URL:** https://nbra.in/labs/byte-xray
- **Author:** Eng. Nadeem Mohamed Badr Eldin (https://nadeembadr.com | ORCID: 0009-0005-5836-2631)
- **Organization:** NBrain (`nbra.in` | GitHub: `https://github.com/NBrain-Studio`)

## Summary
NBrain Byte X-Ray is a zero-data-egress browser debugger (`jwt.io` for MENA FinTech & HealthTech protocols) supporting byte-by-byte inspection of:
1. **MENA EMVCo Merchant Payment QRs** (Egypt CBE Meeza Digital & InstaPay, Saudi SAMA mada, UAE CBUAE Jaywan/Aani, Bahrain BenefitPay) with live ISO/IEC 13239 CRC-16/CCITT-FALSE verification.
2. **Saudi ZATCA Phase 2 Cryptographic E-Invoice QRs** (Tags 1–9 Base64 TLV + SHA-256 XML hash + ECDSA signature).
3. **UAE Health Information Exchanges (`NABIDH` Dubai, `Malaffi` Abu Dhabi + ADHICS v2, `Riayati` MoHAP)** HL7 v2.5.1 to FHIR R4 Bundle transformation, 15-digit Emirates ID (`784`) Luhn check, and Mirth Connect 4.4 XML export.
4. **DICOM Explicit VR Little-Endian Binary Headers** for clinical PHI de-identification audits.
