Social Security Number (SSN) Generator

This class can be used to generate and validate United States social security numbers.

It can generate random numbers for testing purposes based on the social security administration specifications. The numbers do not exist but are well-formed, so they could be valid.

The class can also validate given social security numbers verifying whether they correspond to number ranges that have really been issued by the social security administration.

Social security numbers are often used by United States institutions to identify individuals.

A site that needs to accept from the users this kind of identity information usually needs to test it with valid identity information.

This class can be used to generate valid United States social security numbers that can be used for testing sites.