Magtek eDynamo Programmer's Manual page 210

Secure card reader authenticator
Table of Contents

Advertisement

Appendix B - Examples
; Build an Activation Challenge Reply command (cmd, len, cryptogram)
;
11 08 XXXXXXXXXXXXXXXX
;
;
The clear text input for the cryptogram is composed of the first
six bytes
;
of the decrypted Challenge 1 followed by two bytes specifying how
long to
;
stay in the Authenticated Mode.
;
;
CCCCCCCCCCCC TTTT
;
;
Time examples:
;
For 30 seconds use 001E
;
For 99 seconds use 0063
;
For 480 seconds use 01E0
;
For 1200 seconds use 04B0
;
;
These values are concatenated to form an eight byte block, we will
use 480
;
seconds:
;
;
CCCCCCCCCCCC01E0
;
;
The block is encrypted using a variant of the Current Encryption
Key
;
(Current Encryption Key XOR with 3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C3C)
;
;
Current Key
;
XOR
;
=
;
;
7549AB6EB48401E0 TDES Enc with 31CFE57E16F66A26 7B5B513B91579139
= A30DDE3BFD629ACD
;
; Send the Activation Challenge Reply Command
11 08 A30DDE3BFD629ACD
; Build a Deactivate Authenticated Mode command (cmd, len, cryptogram)
;
12 08 XXXXXXXXXXXXXXXX
;
;
The clear text input for the cryptogram is composed of the first
seven bytes
;
of the decrypted Challenge 2 followed by one byte specifying
whether to
;
increment the DUKPT KSN or not (00 = no increment, 01 = increment).
;
;
DDDDDDDDDDDDDD II
;
;
These values are concatenated to form an eight byte block, we will
specify
;
No Increment:
eDynamo| Secure Card Reader Authenticator | Programmer's Manual (COMMANDS)
0DF3D9422ACA561A 47676D07AD6BAD05
3C3C3C3C3C3C3C3C 3C3C3C3C3C3C3C3C
31CFE57E16F66A26 7B5B513B91579139
Page 210 of 245 (D998200115-17)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the eDynamo and is the answer not in the manual?

Questions and answers

Table of Contents