UIC Bezel5 Programmer’s Manual
Page.130/166
UDN PM098 Rev. 1.0
Copyright © 2013, Uniform Industrial Corp. All Rights Reserved
Code
Meaning
‘B’
Flash read/write error.
‘C’
Memory buffer allocation error.
‘F’
DUKPT operation limit (1 million) reached, program stop.
Example
Parameter
Initial Key
“554E49464F524D5F44454641554C5421”
Account number
“1234567890”
Usage
Send command
"<90><06>1234567890<1C>D4567"
Gets PIN Block
"710554943303030310003E32FF2D3C47BF9F87E"
Find out current key by using of initial key and
serial number/counter. (DUKPT scheme)
Current Key = "A51DD67C06A54E7F0ADA776534532772"
Decrypt PIN Block by using the current key
“2FF2D3C47BF9F87E”
Clear PIN Block
"041234FEDCBA9876"
Take max. 12 bytes of account number from
the next-to-last digit, then pad zeroes on the
left to match the length of 16 bytes
“0000000123456789”
XOR the clear PIN Block with account number
"041234FFFFFFFFFF"
“04” means 4 bytes data follows
PIN = “1234”
6.7.6.
90H 07H – Get Encrypted Status
This command is used to Get Encrypted Status of device.
Command Pocket
Byte 0~1
Command, 90h 07h
Response
Response
Byte 0~5
Success
Encrypt Mode (1 byte) + DUKPT Key Slot (1 byte) + DUKPT Management Mode (1 byte) +
DUKPT Key Slot 1 Status (1 byte) + DUKPT Key Slot 2 Status (1 byte)
Bad Parameters
*