UIC Bezel5 Programmer’s Manual
Page.156/166
UDN PM098 Rev. 1.0
Copyright © 2013, Uniform Industrial Corp. All Rights Reserved
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....)]
Get MIFARE Key SHA1 value
Send the command string to the
reader
D<0AH>
Encrypt the clear text data by the
symmetry Key doing SHA1 Value
383FAF3B31B3DDDBA6964DF8BBB81A3F828BEF5FAEED91B5B2856E44E4E0C
30ED930502694CD20EE81E43B0846FDC8DD7924B7A04BA6248C5E
Return SHA1
BB8EB10C7521C547E6D74643D5559A6C1080ABF9
Example
Host Command
Reader Response Example
Comment
D<0A>
BB8EB10C7521C547E6D74643D5559A6C1080ABF9
SHA1 (40 bytes)