User's Manual
ACG HF Multi ISO RFID Reader V1.0
ACG Identification Technologies GmbH 64
12.4.3.4 DES encryption / decryption of data
This command returns 8 bytes of encrypted / decrypted data.
Command
Command Data
'ds' Options (1 byte)
Key (8/16 bytes) / Key Number (1 byte)
Data (8 byte)
Answer
Answer Description
Data Encrypted / Decrypted data (8 bytes)
Option byte
Option byte
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
RFU RFU RFU RFU RFU Encode
Key
Length
Key
Index
Key Index
If the Key Index is set, the command only needs the key number (1 byte) instead of
the key (8/16 bytes).
The key number corresponds to the key number used in the key management.
Key Length
If the Key Length is set, the command uses the TDES algorithm with 16-byte key.
If cleared, the command uses the DES algorithm with 8-byte key.
If key index is used the key length flag is valid.
Encode
Setting this flag encodes the data.
Clearing this flag decodes the data.