I've been trying to tackle the 'hf iclass encryptblk <data>' command and haven't had any luck.. no matter what I try, I hit a wall.
It's my understanding it requires the TDES key and not the master authentication key which can be found either from a dumped RevA firmware.
Not sure if this key then needs permutation or how to even convert that to the .bin file it requests. I've been using xxd commands.
I would appreciate if you could put me in the right direction.
EDIT: here is how you create iclass_decryptionkey.bin
echo "key_here" > key_dump
xxd -r -p key_dump > iclass_decryptionkey.bin