A Canadian SIN is equivalent to American SSN.
I am not asking for the algorithm to check if any given 9-digit number passes the validation of the Luhn validation.
The problem I have is some users are smart enough to generate a fake SIN that can pass the above validation, but the SIN would not exist in the government database.
Therefore, what I am asking is how I can check the given SIN number is genuine and actually issued by the Canadian Government. Is there any database/services you can get or is there any special algorithm you use to verify this?
Thank you very much in advance.