UIC Bezel5 Programmer’s Manual
Page.153/166
UDN PM098 Rev. 1.0
Copyright © 2013, Uniform Industrial Corp. All Rights Reserved
D<07> (44H 07H) – Load Google wallet MIFARE secret key
Command Packet
Byte 0-1
Byte 2
Byte 3~
Command
Total Encrypt length
Encrypt data
D<07>
<38>
3FAF3B31B3DDDBA6964DF8BBB81A3F828BEF5FAEED91B5B2856E44E4
E0C30ED930502694CD20EE81E43B0846FDC8DD7924B7A04BA6248C5E
Example Keys
Symmetry Key
112233445566778899AABBCCDDEEFF11
Secret Key
MID
1
20E103626A70A92B3AD3FDE04429C3B6
0000
2
642DDA067A4A1725C6F3B22F51E607EE
FFFE
3
7A244D16EAB80D7CBB5329E0653A09CD
F010
Load MIFARE Key
Get clear text data
36||20E103626A70A92B3AD3FDE04429C3B60000642DDA067A4A1725C6F3B
22F51E607EEFFFE7A244D16EAB80D7CBB5329E0653A09CDF010||80
Encrypt the clear text data by the
symmetry Key doing TDES Encrypt
Clear Data
3FAF3B31B3DDDBA6964DF8BBB81A3F828BEF5FAEED91B5B2856E44E4E0C30
ED930502694CD20EE81E43B0846FDC8DD7924B7A04BA6248C5E
Total Encrypt Data Length = 38h
Send the command to the reader
D<07>383FAF3B31B3DDDBA6964DF8BBB81A3F828BEF5FAEED91B5B2856E44
E4E0C30ED930502694CD20EE81E43B0846FDC8DD7924B7A04BA6248C5E
*[Encrypt Data]:
Symmetry Key encrypted
[Total Clear Key Length (1 byte) + Key1 (32 bytes) + MID1 (2 bytes) + Key2 (32 bytes) +
MID2 (2 bytes) + Key3 (32 bytes) + MID 3 (2 bytes) + padding (80h 00h 00h....)]
Example
Host Command
Reader Response Example
D<07>
383FAF3B31B3DDDBA6964DF8BBB81A3F828BEF5FAEED91B5B2856E44E4E0C30ED93
0502694CD20EE81E43B0846FDC8DD7924B7A04BA6248C5E
^ (5Eh)
Successful