Silk Road forums

Market => Product requests => Topic started by: mju7 on February 07, 2012, 09:16 pm

Title: Need UK driving lisence number generator.
Post by: mju7 on February 07, 2012, 09:16 pm
I need this to use for WU.

Any info appreciated. If the algorithm is relatively simple I could probably make my own.

Title: Re: Need UK driving lisence number generator.
Post by: N0thing on February 08, 2012, 06:01 am
Driver number
A B C D E
GARDN 605109 C99 LY 60
A = This is the first five letters of your surname. If your surname has fewer than five letters, the remaining spaces will be made up using the number 9 (for example, MAN99).
B = The first and last numbers are the year of your birth.
The second and third numbers are the month of your birth. (If you are female, ‘5’ is added to the second number and the total used as the second digit. So if you are a woman born in October the second and third numbers would be 60.) The fourth and fifth digits are the day of the month you were born on.
C = This is the first two initials of your first names. If you have only one initial, the second character will be a ‘9’.
D = Computer check digits, randomly produced as a security measure.
E = This is the license issue number, which will increase by one with every license issued.

Source:
http://www.direct.gov.uk/prod_consum_dg/groups/dg_digitalassets/@dg/@en/@motor/documents/digitalasset/dg_4011281.pdf
Title: Re: Need UK driving lisence number generator.
Post by: N0thing on February 08, 2012, 06:04 am
More on this:
Each licence holder in England, Scotland and Wales has a unique driver number, which is 16 characters long. The characters are constructed in the following way:

    1–5: The first five characters of the surname (padded with 9s if less than 5 characters)
    6: The decade digit from the year of birth (e.g. for 1987 it would be 8 )
    7–8: The month of birth (7th character incremented by 5 if driver is female i.e. 51–62 instead of 01–12)
    9–10: The date within the month of birth
    11: The year digit from the year of birth (e.g. for 1987 it would be 7)
    12–13: The first two initials of the first names, padded with a 9 if no middle name
    14: Arbitrary digit – usually 9, but decremented to differentiate drivers with the first 13 characters in common
    15–16: Two computer check digits.
    17–18: Appended, two digits representing the licence issue, which increases by 1 for each licence issued.

Each Northern Ireland licence holder has a unique driver number which is 8 characters long. The characters are not constructed in any particular pattern.

Source:
http://en.wikipedia.org/wiki/Driving_licence_in_the_United_Kingdom