From the Seattpe PI Blog:
Ever wonder just how Washington state comes up with your driver’s license number? Alan De Smet explains. He even wrote a tool to generate them (and a warning to anyone contemplating using it for fraudulent purposes).
He also has algorithms for a couple of other states, including Maryland. It works. Quite scary.