Validate Aadhaar numbers with the official Verhoeff D5 dihedral algorithm, generate masked Aadhaar (XXXX-XXXX-1234), and simulate Aadhaar Data Vault (ADV) tokenization with zero server retention.
⚡ Interactive Calculation Engine Active
Please enable JavaScript in your browser to run live computations, 2D envelope diagrams, and export PDF reports.
Mathematical Mechanics of the Verhoeff Dihedral D5 Algorithm
The Verhoeff algorithm operates over the symmetric group of permutations of order 10, using dihedral group D5 multiplication and permutation matrices. Every digit of the 12-digit Aadhaar number is transformed using a permutation index based on its reverse position modulo 8. If the cumulative product evaluates to zero, the Aadhaar number is mathematically valid.
UIDAI Aadhaar Data Vault (ADV) Architecture Guidelines
UIDAI circular No. 11020/205/2017-UIDAI mandated the Aadhaar Data Vault for all ecosystem partners. The vault functions as an isolated enclave: business applications send the raw Aadhaar to the vault over mutual TLS (mTLS), which encrypts the number using an HSM-backed master key, generates a non-deterministic surrogate reference token, and returns the token to the application.
Statutory Penalties under Section 42 of the Aadhaar Act, 2016
Unauthorized storage, transmission, or disclosure of raw identity information or Aadhaar numbers is an offense under Section 42 and 43 of the Aadhaar (Targeted Delivery of Financial and Other Subsidies, Benefits and Services) Act, 2016, carrying imprisonment up to 3 years and substantial financial penalties.
Masked Aadhaar Implementation for KYC Intermediaries
For offline KYC, e-KYC paperless verification, and document archives, entities must strictly mask the initial 8 digits of the physical or digital Aadhaar card. Both visual PDFs and OCR extraction databases must mask digits 1 through 8 prior to archival.