nfc-tools / mfoc

Mifare Classic Offline Cracker
GNU General Public License v2.0
1.21k stars 267 forks source link

Is it possible to use the crypto-1 part as a library of sorts? #71

Closed KaeLL closed 2 years ago

KaeLL commented 5 years ago

The code is unreadable, and I don't have the mathematical background to understand a single thing that is happening in the crapto-1/crypto-1 parts. I'm wondering if it's possible to use it as a library to authenticate a MIFARE Classic tag without braking it, and how, if anyone would be so willing and kind to give at least a few hints.

Basically, the question is: is it a crypto-1 implementation? If so, how can I leverage it?