ID TECH SecureHead SPI with TMIV User Manual
Page | 41
12.
APPENDIX F: Example of Decoded Data Decryption
Key for all examples is 0123456789ABCDEFFEDCBA9876543210
Security Level 3 Decryption - Enhanced Encryption Format
Example of decryption of a three track ABA card with the enhanced encryption format. SecureHead
Reader with default settings except enhanced encryption structure format.
Enhanced encryption Format (this can be recognized because the high bit of the fourth byte
underlined (80) is 1.
029801803F48236B03BF252A343236362A2A2A2A2A2A2A2A393939395E42555348204A
522F47454F52474520572E4D525E2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A2A
2A2A2A2A2A2A2A2A2A2A3F2A3B343236362A2A2A2A2A2A2A2A393939393D2A2A2A2A2A
2A2A2A2A2A2A2A2A2A2A3F2ADA7F2A52BD3F6DD8B96C50FC39C7E6AF22F06ED1F033BE0
FB23D6BD33DC5A1F808512F7AE18D47A60CC3F4559B1B093563BE7E07459072ABF8FAAB
5338C6CC8815FF87797AE3A7BEAB3B10A3FBC230FBFB941FAC9E82649981AE79F263215
6E775A06AEDAFAF6F0A184318C5209E55AD44A9CCF6A78AC240F791B63284E15B40191
02BA6C505814B585816CA3C2D2F42A99B1B9773EF1B116E005B7CD8681860D174E6AD3
16A0ECDBC687115FC89360AEE7E430140A7B791589CCAADB6D6872B78433C3A25DA9DD
AE83F12FEFAB530CE405B701131D2FBAAD970248A456000933418AC88F65E1DB7ED4D10
973F99DFC8463FF6DF113B6226C4898A9D355057ECAF11A5598F02CA31688861C157C1C
E2E0F72CE0F3BB598A614EAABB16299490119000000000206E203
STX, Length(LSB, MSB), card type, track status, length Track1, length Track2, length Track3 02 9801
80 3F 48-23-6B 03BF
The above broken down and interpreted
02: STX character
98: low byte of total length
01: high byte of total length
80: card type byte (interpretation new format ABA card)
3F: 3 tracks of data all good
48: length of Track1
23: length of Track2
6B: length of Track3
03: tracks 1 and 2 have masked/clear data
BF: bit 7=1: KSN included
Bit 6=0: no Session ID included so not level 4 encryption
Bit 5=1: Track3 hash data present
Bit 4=1: Track2 hash data present
Bit 3-1: Track1 hash data present
Bit 2=1: Track3 encrypted data present