Thursday 4 March 2010

The UCLAN student/staff card values

Every staff and student card has a 16 digit number similar to credit cards, the one problem is that every card has the following at the beginning 20107101, then this is followed by a random sequence of 6 numbers, which is then topped off usually with a 1.

So, the sequence goes something like this...

2010710094121917

array object 0 = 2
array object 1 = 0
array object 2 = 1
array object 3 = 0
array object 4 = 7
array object 5 = 1
array object 6 = 0
array object 7 = 0
array object 8 = 9 *
array object 9 = 4 *
array object 10 = 1 *
array object 11 = 2 *
array object 12 = 1*
array object 13 = 9 *
array object 14 = 1
array object 15 = 7

* In order to generate a unique image based on the card values I intend to use 6 numbers from object 8-13, in the example above I will use 941219 as the sample value.

No comments:

Post a Comment