mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-11-22 15:38:07 +00:00
A HID SAM driving MIFARE Classic hands over Crypto1 frames as one bit stream: each byte's 8 data bits LSB first followed by its parity bit. These convert between that stream and the bytes plus parity array the PM3 reader and trace code use. Shared so the client can self test them. Cross checked against a port of Seader's plugin_hf_mfc_transmit for frames up to 8 bytes (its limit) and for 4 and 18 byte answers. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>