User's Manual

PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06
Appendix B – PIN Block Format 2015-04-20
Page328
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
EMV Level 2 format (Offline enciphered PIN entry)
When using offline enciphered PIN entry (message T36), PP791 generates EMV level 2 specified PIN
block as follows:
Header
Type 2 PIN block ICC Unpredictable Number Random Padding
0x7F
ANSI X9.8 clear
text PIN block with
C=2
8 bytes random number
sent out by smart card
Random number generated by
PP791
to pad the whole block
to the length of RSA key
modulus
For example, in one transaction, smart card sends “FA64B77CFC7065DDas challenge and a 1024bits
(128bytes) public key, if a user inputs “1234” as PIN, the EMV Lv2 PIN block will be:
H PINB ICC RANDOM PADDING
7F 241234FFFFFFFFFF
FA64B77CFC7065DD
................(128-17 = 111bytes)
After this block generated, it will be RSA encrypted by public key and send out.