beautypg.com

2 sred arqc request, Sred arqc request, 3 - command set – MagTek DynaPro Mini Programmer's99875629 User Manual

Page 26

background image

3 - Command Set

DynaPro Mini| PIN Encryption Device | Programmer’s Reference (Commands)


Page 26

DFDF3C

DFDF3D

DFDF43

DFDF50(MSR KSN Data) /*sent in the

clear*/

DFDF51(MSR EncryptionType)

F5/* container tag for encrypted PIN data

(normally debit card)*/

99(Encrypted PIN DATA)

DFDF41(PIN KSN Data)

DFDF42(PIN EncryptionType)

(Buffer if any to be a multiple of 8 bytes)
CBC-MAC (4 bytes, use MAC variant of MSR DUKPT key)

3.3.2.2 SRED ARQC Request

Begin with a two-byte header in big-endian form (MSB first) that contains the expected length of the
message after decryption, excluding data padding and CBC-MAC. Use container F9 for the MAC
structure, use container F8 within container FA for passing the encrypted ARQC message, and use the
MAC variant of the MSR DUKPT key.
AAAA /* 2-byte MSB message length excluding padding and CBC-MAC */
F9 /* container for MAC structure and generic data */

DFDF54(MAC KSN)

DFDF55(MAC Encryption Type)

DFDF25(IFD Serial Number)

FA/* container for generic data */

70 /*container for ARQC */

F8 /*container tag for encryption */

DFDF59(Encrypted Data

Primitive)

DFDF56(Encrypted Transaction Data

KSN)

DFDF57(Encrypted Transaction Data

Encryption Type)

DFDF58(# of bytes of padding in

DFDF59)
(Buffer if any to be a multiple of 8 bytes)
CBC-MAC (4 bytes, use MAC variant of MSR DUKPT key)


The Value inside tag DFDF59 is encrypted and contains the following after decryption:

FC/* container for encrypted generic data */

F4/* container tag for encrypted MSR

data */

DFDF36

DFDF37

DFDF38

DFDF39

DFDF3A

DFDF3B

DFDF3C

Data>