Checksums
note
Generated from CHECKSUMS in anonyma/validators of anonyma 1.3.2, so it is always what the code does.
A declarative pattern names the check digits its matches must pass, { source: "\\b\\d{9}\\b", category: "routing", validator: "aba-routing" }, and every validator can be imported on its own.
| Name in a pattern | Function |
|---|---|
luhn | — |
verhoeff | — |
iban | ibanMod97() |
nhs | nhsMod11() |
cpf | cpfChecksum() |
cnpj | cnpjChecksum() |
aba-routing | abaRoutingChecksum() |
npi | npiChecksum() |
imei | imeiChecksum() |
dea | deaChecksum() |
vin | vinChecksum() |
nino | ninoValid() |
aadhaar | — |
bsn | bsnChecksum() |
pt-nif | ptNifChecksum() |
es-dni | spanishIdChecksum() |
it-fiscal-code | italianFiscalCodeChecksum() |
fr-nir | frNirChecksum() |
cn-resident-id | chineseResidentIdChecksum() |
au-tfn | australianTfnChecksum() |
se-personnummer | swedishPersonnummerChecksum() |
pix | pixPayloadChecksum() |