UIC Bezel5 Programmer’s Manual
Page.135/166
UDN PM098 Rev. 1.0
Copyright © 2013, Uniform Industrial Corp. All Rights Reserved
6.8.
Load Session ID
USAGE:
1.
Issue the 90h 03h command to get encrypted random number.
2.
Decrypt “Encrypted Random” using the current key and gets “Random”.
3.
Generate an encryption key by XORing current key and “Random”.
4.
Use encryption key to encrypt [(Random) + (New Session ID)].
Put the result into the 90h 02h command packet.
EXAMPLE
Parameter
Initial Key
“554E49464F524D5F44454641554C5421”
New Session ID
“0102030405060708”
Usage
get encrypted random number from the 90h
03h command
"554943303030310003E103EA68415833B363 "
Find out the current key by using the initial
key and the serial number/counter. (DUKPT
scheme)
Current Key : "13B9BB5C4136505FB9B1335223CC9291"
Random number
“03EA68415833B363 "
using the current key to gets Clear Random
Clear Random :
"495AF134649D561E"
Generate an encryption key by XORing the
current key and the clear Random
Encryption Key: "5AE34A6825AB0641F0EBC2664751C48F"
Use the encryption key to encrypt (TDES)
[((New Session ID)]
Encrypted data: "82CEEAF1C6502358686C954C121E65E6"
Put the result into the 90h 02h command
packet
90h 02h 82h CEh EAh F1h C6h 50h 23h 58h 68h 6Ch 95h 4Ch 12h 1Eh
65h E6h
Table 6-10. Example of Load Session ID