IBM 3624 Customer pin,natural pin,pin offset related content
The following describes how to generate a K-bit user pin using IBM 3624
1. Use the PIN verification Key (PVK) to encrypt the pan (Primary account number) to the right 16 bits, resulting in a 16-bit hexadecimal string;
2. Using decimalisation Table = 0123456789012345, convert the 1th step result to 10 mechanism number, for example:
HEX 0 1 2 3 4 5 6 7 8 9 A B C D E F
DECIMAL 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
3. Take the 2nd step result of the first K-bit, you can get K for natural PIN
4. Natural pin plus pin offset value gets the customer pin (note: bit plus does not carry, i.e.: no-carry-addition);
5. Reverse pin offset for customer pin minus natural pin (note: bit minus borrow, i.e.: no-borrows-subtraction).
Examples 1:
Account: 1234567890123456
PVK: 1313131313131313
decimalisation table:0123456789012345, ie. 0 (hex) = 0, B (hex) = 1, etc.
PIN length:k=6
Then the result of step 1 = 64da85b3795ae4e4
Result of Step 2 = 6430851379504444 (decimal)
Then Natural PIN = 643085
(1) Let PIN Offset is 456789
Customer PIN = 643085 + 456789 (no carry-over on each digit) = 099764
(2) Let PIN Offset is 000000
Customer PIN = 643085 + 000000 (no carry-over on each digit) = 643085
Examples 2:
Card number:1234567890123445
PIN Key:0123456789abcdef
Encrypted Card number:9a466ad30dfe0381
Natural pin:9046.
offset:2298 (this number was written on track 3).
Customer pin:1234.
PIN offset is usually written on the third track
Reference Documentation:
Http://www.gae.ucm.es/~padilla/extrawork/magexam1.html
http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.csfb400/csfb4za2597.htm%23wq3968
IBM 3624 Customer pin,natural pin,pin offset related content