Structured identifiers
Checksummed national and financial IDs
A format match alone produces false positives on order numbers and dates, so every structured detector validates the check digit before it masks. A number that fails its checksum is left alone and counted in the miss report instead.
- IBAN
- ISO 13616, country length + mod 97 = 1
- DE Steuer-ID
- 11 digits, ISO 7064 MOD 11,10 check digit
- FR NIR
- 13 digits + key (97 minus mod 97), 2A/2B Corsica
- UK NHS number
- 10 digits, modulus 11, weights 10 to 2
- US SSN
- AAA-GG-SSSS, never 000, 666 or 900 to 999
- Saudi national ID
- 10 digits, 1 citizen / 2 resident, Luhn