Confused on pin verfication Process + How to Generate a pinblock for a 16Digit card

Apr 5, 2013 at 2:38 PM
we have a ATM system in which we use TMK and TPK for the pin encryption process.

and Pinblock is generated by encrypted keypad.

and for generation of pinblock we give 32 bit cipher input.

Cipher key input holds TPK Index + customer card number+ LRC as input

Once the pinblock is derived i really don't know how it is verified and i really want to learn how decryption process is done.

** When i see the reference manual i don't see anywhere where it used 16 digit card number is used for generating a PinBlock.
in general i see 12 Digit account number is used ( am very much noob sorry if i am wrong anywhere)

so with generated pinblock from ATM device which does not have the customer's account number in it how it is verified.

Please guide
Apr 6, 2013 at 7:24 PM
I'm sorry to say that I did not understand the question...?
Apr 7, 2013 at 7:22 AM
sorry for bad language.

i am just trying to simulate a ATM system with HSM authentication process.

In that need some guidance pin process system
  1. How to create a pin block for a 16 digit card number
  2. After creating a pin block for the 16 digit what is the process to verify.
requesting your guidance
Jul 10, 2013 at 8:21 AM
Some helpful information at http://jpos.org/wiki/HSM_basics
Pinblocks are formed using various algorithms. Pick an algorithm and create a pinblock manually to understnad the process (there is a link to a pdf in the above url that explains pin block formats).